-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrating Fuzz testing to Go built-in testing
This also sets up CI to regularly perform Fuzz testing. This first step with fuzzing migrated just the existing Fuzz tests to the new setup. In the future additional tests can be added. Signed-off-by: Matt Farina <[email protected]>
- Loading branch information
1 parent
cc17577
commit e485a0d
Showing
5 changed files
with
82 additions
and
34 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,20 @@ | ||
name: Fuzz Testing | ||
on: | ||
# Perform Fuzz testing on PRs and on a daily basis. Daily will continue to | ||
# look for problems. Doing this on PRs will look for issues introduced in | ||
# a change. | ||
pull_request: | ||
schedule: | ||
- cron: '33 23 * * *' # Run at 11:33 every day | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.20" | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Fuzz | ||
run: make fuzz |
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
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
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