Toolkit Checks #221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Toolkit Checks | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 1' | |
jobs: | |
run-unit-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install all required Robot Framework dependencies | |
run: | | |
sudo -s | |
#sudo apt update && sudo apt upgrade -y | |
sudo apt install software-properties-common -y | |
sudo add-apt-repository ppa:deadsnakes/ppa -y | |
sudo apt install python3.10 | |
python3 --version | |
ls -la | |
sudo pip3 install -r ./solidity-hardhat-multichain-tools/requirements.txt | |
pip freeze | |
robot --nostatusrc --help | grep "Robot Framework is open source software" | |
robot --nostatusrc --version | grep "Robot" | |
- name: Install NodeJS and all required Hardhat dependencies | |
run: | | |
sudo -s | |
ls -la | |
sudo bash ./start-solidity-qa-workflows.sh Install-Tools-On-MacOS-Or-Linux | |
node --version | |
- name: Run all unit tests using the BATS test framework | |
run: | | |
sudo -s | |
ls -la | |
sudo bash ./start-maintenance-workflows.sh Run-Unit-Tests | |
run-acceptance-tests: | |
needs: run-unit-tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install all required Robot Framework dependencies | |
run: | | |
sudo -s | |
#sudo apt update && sudo apt upgrade -y | |
sudo apt install software-properties-common -y | |
sudo add-apt-repository ppa:deadsnakes/ppa -y | |
sudo apt install python3.10 | |
python3 --version | |
ls -la | |
pip3 install -r ./solidity-hardhat-multichain-tools/requirements.txt | |
pip freeze | |
robot --nostatusrc --help | grep "Robot Framework is open source software" | |
robot --nostatusrc --version | grep "Robot" | |
- name: Install NodeJS and all required Hardhat dependencies | |
run: | | |
sudo -s | |
ls -la | |
sudo bash ./start-solidity-qa-workflows.sh Install-Tools-On-MacOS-Or-Linux | |
node --version | |
- name: Run all acceptance tests using the BATS test framework | |
run: | | |
sudo -s | |
ls -la | |
sudo bash ./start-maintenance-workflows.sh Run-Acceptance-Tests |