Skip to content

Commit 19570f8

Browse files
committed
feat: add fork-fuzz testing to CI
1 parent 74260e9 commit 19570f8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ jobs:
2929
gas-diff-tolerance: 2 # setting the gas diff tolerance to 2%
3030
foundry-profile: host
3131
fork-url: ${{ vars.HOST_RPC_URL }}
32-
32+
fork-fuzz-host:
33+
uses: init4tech/actions/.github/workflows/solidity-base.yml@main
34+
with:
35+
gas-diff-tolerance: 2 # setting the gas diff tolerance to 2%
36+
foundry-profile: fuzzHost
37+
fork-url: ${{ vars.HOST_RPC_URL }}

foundry.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ test= "test/rollup"
1010
[profile.host]
1111
test= "test/host"
1212

13+
[profile.fuzzHost]
14+
test= "test/fuzz-host"
15+
1316
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 commit comments

Comments
 (0)