File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
actions/brownie_fork_tests Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ inputs:
2222runs :
2323 using : " composite"
2424 steps :
25- - uses : actions/checkout@v4
26- with :
27- path : scripts
28-
2925 - name : Install poetry
3026 shell : bash
3127 run : |
@@ -40,13 +36,21 @@ runs:
4036 python-version : " 3.10"
4137 cache : poetry
4238
39+ - name : Setup node.js version
40+ uses : actions/setup-node@v3
41+ with :
42+ node-version : 18.x
43+ cache : " yarn"
44+
4345 - name : Install poetry requirements
44- working-directory : scripts
4546 shell : bash
4647 run : poetry install
4748
49+ - name : Install ganache
50+ shell : bash
51+ run : yarn install --frozen-lockfile
52+
4853 - name : Import network config to connect brownie with local Ganache
49- working-directory : scripts
5054 shell : bash
5155 run : poetry run brownie networks import network-config.yaml True
5256
@@ -66,11 +70,10 @@ runs:
6670 echo ${{ inputs.vote }}
6771
6872 - name : Run tests
69- working-directory : scripts
7073 shell : bash
7174 run : >
7275 ${{ inputs.command }}
7376 env :
7477 WEB3_INFURA_PROJECT_ID : ${{ inputs.infura }}
7578 ETHERSCAN_TOKEN : ${{ inputs.etherscan }}
76- ETH_RPC_URL : " https://mainnet.infura.io/v3/${{ inputs.infura }}"
79+ ETH_RPC_URL : " https://mainnet.infura.io/v3/${{ inputs.infura }}"
Original file line number Diff line number Diff line change 1414 name : Brownie fork NORMAL tests 1
1515 runs-on : " ubuntu-latest"
1616 timeout-minutes : 100
17-
17+
1818 steps :
1919 - uses : actions/checkout@v3
2020 - name : Main action
2929 name : Brownie fork NORMAL tests 2
3030 runs-on : " ubuntu-latest"
3131 timeout-minutes : 100
32-
32+
3333 steps :
3434 - uses : actions/checkout@v3
3535 - name : Main action
5353 vote : " normal"
5454 infura : ${{ secrets.WEB3_INFURA_PROJECT_ID }}
5555 etherscan : ${{ secrets.ETHERSCAN_TOKEN }}
56- command : " make test-3/3"
56+ command : " make test-3/3"
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ if [ ! -e /root/inited ]; then
3131 CI=true yarn --immutable
3232 yarn compile
3333 cp .env.example .env
34- fi
34+ fi
You can’t perform that action at this time.
0 commit comments