Skip to content

Commit

Permalink
Speed up tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Dec 10, 2024
1 parent f9b87eb commit 473899d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:

- name: Run coverage
run: forge coverage --report summary --report lcov
env:
FOUNDRY_PROFILE: lite # override to reduce runtime

# To ignore coverage for certain directories modify the paths in this step as needed. The
# below default ignores coverage results for the test and script directories. Alternatively,
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[profile.ci]
fuzz = { runs = 5000 }
invariant = { runs = 1000 }
invariant = { runs = 500 }

[profile.lite]
fuzz = { runs = 50 }
Expand Down

0 comments on commit 473899d

Please sign in to comment.