Skip to content

Commit f297858

Browse files
committed
ci: run fork tests only on unit file
Use --match-path to exclude invariant/fuzz tests from fork mode. Prevents invariants from running on fork (cheatcodes disabled + rate limits). Keeps fork job focused on real-token unit testing.
1 parent d9cf88b commit f297858

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,4 @@ jobs:
8181
cache: true
8282

8383
- name: Run Mainnet Fork Tests
84-
run: forge test --fork-url ${{ secrets.ALCHEMY_MAINNET }} -vvv
85-
86-
- name: Run Sepolia Fork Tests
87-
run: forge test --fork-url ${{ secrets.ALCHEMY_SEPOLIA }} -vvv
84+
run: forge test --fork-url ${{ secrets.ALCHEMY_MAINNET }} --match-path "test/AsyncVault.t.sol" -vvv

0 commit comments

Comments
 (0)