fix: set up separate node for tests #1766
This file contains hidden or 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: Normal vote CI | |
| on: | |
| push: | |
| branches-ignore: | |
| - "master" | |
| - "feat/tests" | |
| - "feat/rc3" | |
| - "feat/rc2" | |
| - "feat/rc1" | |
| - "feat/next-vote" | |
| jobs: | |
| run-tests-normal-1: | |
| name: Brownie fork NORMAL tests 1 | |
| runs-on: "ubuntu-latest" | |
| timeout-minutes: 100 | |
| services: | |
| hardhat-node: | |
| image: ghcr.io/lidofinance/hardhat-node:2.26.0 | |
| ports: | |
| - 8545:8545 | |
| env: | |
| ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} | |
| HARDFORK: "cancun" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Main action | |
| uses: ./.github/actions/brownie_fork_tests | |
| with: | |
| vote: "normal" | |
| rpc_url: ${{ secrets.ETH_RPC_URL }} | |
| etherscan: ${{ secrets.ETHERSCAN_TOKEN }} | |
| command: "make test-1/2" | |
| run-tests-normal-2: | |
| name: Brownie fork NORMAL tests 2 | |
| runs-on: "ubuntu-latest" | |
| timeout-minutes: 100 | |
| services: | |
| hardhat-node: | |
| image: ghcr.io/lidofinance/hardhat-node:2.26.0 | |
| ports: | |
| - 8545:8546 | |
| env: | |
| ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }} | |
| HARDFORK: "cancun" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Main action | |
| uses: ./.github/actions/brownie_fork_tests | |
| with: | |
| vote: "normal" | |
| rpc_url: ${{ secrets.ETH_RPC_URL }} | |
| etherscan: ${{ secrets.ETHERSCAN_TOKEN }} | |
| command: "make test-2/2" |