From 21f8cac2046eabb5ea9224072f527160e24e013d Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Tue, 4 Jan 2022 13:51:36 +0000 Subject: [PATCH] build(fuzz): tweak fuzzing test cmdline Run all fuzz targets, one per invocation, in parallel https://tip.golang.org/doc/fuzz/ --- .github/workflows/fuzz.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index a9197fc23..aee7d469b 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -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' +