Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI update #74

Merged
merged 2 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Foundry CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:

jobs:
Expand All @@ -20,16 +18,11 @@ jobs:

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
Rubilmax marked this conversation as resolved.
Show resolved Hide resolved

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
run: forge test -vvv
env:
FOUNDRY_FUZZ_RUNS: 100000
MathisGD marked this conversation as resolved.
Show resolved Hide resolved
FOUNDRY_FUZZ_MAX_TEST_REJECTS: 500000
FOUNDRY_INVARIANT_RUNS: 1000
FOUNDRY_INVARIANT_DEPTH: 100
10 changes: 0 additions & 10 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
via-ir = true

[fuzz]
runs = 2048

[invariant]
runs = 2048
depth = 32
MathisGD marked this conversation as resolved.
Show resolved Hide resolved

[fmt]
int_types = "short"

Expand Down