Skip to content

Commit

Permalink
build(fuzz): tweak fuzzing test cmdline
Browse files Browse the repository at this point in the history
Run all fuzz targets, one per invocation, in parallel

https://tip.golang.org/doc/fuzz/
  • Loading branch information
dnwe committed Jan 4, 2022
1 parent 6a4ccd3 commit 21f8cac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ jobs:
run: go install golang.org/dl/gotip@latest && gotip download

- name: Run any fuzzing tests
run: gotip test -v -run=^Fuzz -test.fuzztime=5m ./...
run: gotip test -list . | grep '^Fuzz' | parallel 'gotip test -v -run=^{}$ -fuzz=^{}$ -fuzztime=5m'

0 comments on commit 21f8cac

Please sign in to comment.