-
Notifications
You must be signed in to change notification settings - Fork 1
71 lines (68 loc) · 2.38 KB
/
toolkit-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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