Skip to content

Commit

Permalink
ci(forge): add specific test to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Aug 23, 2023
1 parent bfaac01 commit 576c796
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- type: "slow"
fuzz-runs: 100000
max-test-rejects: 500000
invariant-runs: 1000
invariant-depth: 100
invariant-runs: 64
invariant-depth: 1024
- type: "fast"
fuzz-runs: 256
fuzz-runs: 512
max-test-rejects: 65536
invariant-runs: 16
invariant-depth: 256
Expand All @@ -50,6 +50,7 @@ jobs:
- name: Run Forge tests in ${{ matrix.type }} mode
run: make test
env:
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
FOUNDRY_FUZZ_RUNS: ${{ matrix.fuzz-runs }}
FOUNDRY_FUZZ_MAX_TEST_REJECTS: ${{ matrix.max-test-rejects }}
FOUNDRY_INVARIANT_RUNS: ${{ matrix.invariant-runs }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test-local:
@FOUNDRY_MATCH_CONTRACT=LocalTest make test

test: blue
forge test -vvvvv
forge test -vvv


test-%:
Expand Down

0 comments on commit 576c796

Please sign in to comment.