-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #768 from gitcoindev/feat/deep-fuzzing
feature: deep fuzzing on newly modified Solidity contracts and pull requests
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Deep Fuzz | ||
on: | ||
push: | ||
branches: | ||
- development | ||
paths: | ||
- '**.sol' | ||
|
||
jobs: | ||
deep-fuzz: | ||
name: Deep Fuzz | ||
runs-on: ubuntu-22.04 | ||
env: | ||
FOUNDRY_PROFILE: intense | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly-d369d2486f85576eec4ca41d277391dfdae21ba7 | ||
|
||
- name: Forge install | ||
working-directory: packages/contracts | ||
run: forge install | ||
|
||
- name: Deep Fuzz Solidity Contracts | ||
working-directory: packages/contracts | ||
run: forge test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,6 @@ targets = [ | |
|
||
[profile.docs] | ||
src = 'src/dollar' | ||
|
||
[profile.intense.fuzz] | ||
runs = 100000 |
36b9205
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.