fix: Coverage with forked ENV vars (#659)
* fix: Coverage with forked ENV vars * set foundry env vars at the job level
This commit is contained in:
parent
a8539aa66e
commit
8c35931041
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -10,6 +10,14 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Build and test
|
name: Build and test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
ARBITRUM_RPC_URL: ${{ secrets.ARBITRUM_RPC_URL }}
|
||||||
|
AVALANCHE_RPC_URL: ${{ secrets.AVALANCHE_RPC_URL }}
|
||||||
|
BSC_RPC_URL: ${{ secrets.BSC_RPC_URL }}
|
||||||
|
FANTOM_RPC_URL: ${{ secrets.FANTOM_RPC_URL }}
|
||||||
|
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
|
||||||
|
OPTIMISM_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }}
|
||||||
|
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -18,7 +26,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: '16'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
@ -84,14 +92,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Forge tests
|
- name: Run Forge tests
|
||||||
working-directory: contracts/zero-ex
|
working-directory: contracts/zero-ex
|
||||||
env:
|
|
||||||
ARBITRUM_RPC_URL: ${{ secrets.ARBITRUM_RPC_URL }}
|
|
||||||
AVALANCHE_RPC_URL: ${{ secrets.AVALANCHE_RPC_URL }}
|
|
||||||
BSC_RPC_URL: ${{ secrets.BSC_RPC_URL }}
|
|
||||||
FANTOM_RPC_URL: ${{ secrets.FANTOM_RPC_URL }}
|
|
||||||
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
|
|
||||||
OPTIMISM_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }}
|
|
||||||
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}
|
|
||||||
run: |
|
run: |
|
||||||
forge test -vvv --gas-report
|
forge test -vvv --gas-report
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user