Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
duncancmt committed Oct 22, 2024
1 parent 2902d4b commit 56dab72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
run: git submodule update --recursive --init

- name: Check contract sizes
run: forge build --sizes --skip UniswapV4UnitTest.t.sol
run: forge build --sizes --skip UniswapV4UnitTest.t.sol --skip SafeGuard.sol

- name: Run tests
run: forge test
run: forge test --skip UniswapV4UnitTest.t.sol --skip SafeGuard.sol
env:
FOUNDRY_PROFILE: integration
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ jobs:
- name: Build UniswapV4
run: forge build lib/v4-core/src/PoolManager.sol

- name: Build contracts
run: forge build --skip UniswapV4UnitTest.t.sol

- name: Build Safe Guard
run: forge build src/deployer/SafeGuard.sol
env:
FOUNDRY_EVM_VERSION: london
FOUNDRY_OPTIMIZER_RUNS: 200

- name: Build all other contracts
run: forge build --skip UniswapV4UnitTest.t.sol --skip SafeGuard.sol

- name: Build UniswapV4 unit test
run: forge build --skip SafeGuard.sol

- name: Run tests
run: forge test
run: forge test --skip SafeGuard.sol
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}

0 comments on commit 56dab72

Please sign in to comment.