Skip to content

Commit

Permalink
Merge pull request #404 from balancer/ci-update
Browse files Browse the repository at this point in the history
Add Polygon to CI. Update secret names.
  • Loading branch information
John Grant committed Jul 27, 2023
2 parents d718127 + c6a6a57 commit 6323808
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
- name: Compile
run: yarn build
- name: Run node in background for integration tests
run: npx hardhat --tsconfig tsconfig.testing.json node --hostname 127.0.0.1 --fork https://mainnet.infura.io/v3/${{ secrets.INFURA }} &
- name: Run mainnet node in background for integration tests
run: npx hardhat --tsconfig tsconfig.testing.json node --hostname 127.0.0.1 --fork ${{ secrets.RPC_URL_MAINNET }} &
- name: Run Polygon node in background for integration tests
run: npx hardhat --tsconfig tsconfig.testing.json --config hardhat.config.polygon.ts node --hostname 127.0.0.1 --fork ${{ secrets.RPC_URL_POLYGON }} --port 8137 &
- name: Test
run: yarn test
env:
CI: true
INFURA: ${{ secrets.INFURA }}
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
RPC_URL_POLYGON: ${{ secrets.RPC_URL_POLYGON }}

0 comments on commit 6323808

Please sign in to comment.