1313 - " feat/rc2"
1414 - " feat/rc1"
1515 - " feat/next-vote"
16+ - " feat/v3-vote-ci"
1617 workflow_dispatch :
1718
1819jobs :
@@ -26,15 +27,14 @@ jobs:
2627 cancel-in-progress : true
2728
2829 env :
29- NODE_VERSION : ' 20 '
30- PYTHON_VERSION : ' 3.10'
31- POETRY_VERSION : ' 1.8.2'
32- HARDHAT_NODE_URL : ' http://127.0.0.1:8545'
33- ANVIL_NODE_URL : ' http://127.0.0.1:8555'
30+ NODE_VERSION : " 20 "
31+ PYTHON_VERSION : " 3.10"
32+ POETRY_VERSION : " 1.8.2"
33+ HARDHAT_NODE_URL : " http://127.0.0.1:8545"
34+ ANVIL_NODE_URL : " http://127.0.0.1:8555"
3435 CURL_PARAMS : ' -X POST -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1}"'
3536
3637 steps :
37-
3838 # ###############################################################
3939 # Clone repositories`
4040 # ###############################################################
5050 uses : actions/checkout@v4
5151 with :
5252 repository : lidofinance/dual-governance
53- ref : feature/escrow-mainnet-deploy
53+ ref : feature/report-simulation
5454 path : dual-governance
5555 persist-credentials : false
5656 token : ${{ secrets.GITHUB_TOKEN }}
6363 uses : actions/setup-node@v4
6464 with :
6565 node-version : ${{ env.NODE_VERSION }}
66- cache : ' yarn'
66+ cache : " yarn"
6767 cache-dependency-path : scripts/yarn.lock
6868
6969 - name : Install Poetry
@@ -141,11 +141,17 @@ jobs:
141141 done
142142 working-directory : scripts
143143
144+ - name : Import network config for brownie
145+ shell : bash
146+ run : poetry run brownie networks import network-config.yaml True
147+ working-directory : scripts
148+
144149 - name : Prepare test environment with Brownie
145- run : poetry run brownie run scripts/ci/prepare_environment --network mainnet-fork
150+ run : poetry run brownie run scripts/ci/prepare_environment --network mfh-1
146151 working-directory : scripts
147152 env :
148153 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
154+ ETHERSCAN_TOKEN : ${{ secrets.ETHERSCAN_TOKEN }}
149155
150156 - name : Run regression tests
151157 run : npm run test:regressions -- --load-accounts
0 commit comments