We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c61bae6 commit 44d4a36Copy full SHA for 44d4a36
.github/workflows/fuzz.yml
@@ -61,14 +61,18 @@ jobs:
61
mkdir corpus
62
mkdir artifacts
63
./fuzz -only_ascii=1 -timeout=5 -fork=$(nproc) -use_value_profile=1 -timeout_exitcode=0 -max_total_time=60 -artifact_prefix=./artifacts/ corpus corpus_test
64
+ # if a crash happens with a file from the corpus the fuzzer will not fail - so fail if any artifacts have been written
65
+ test $(find ./artifacts -type f | wc -l) -eq 0
66
67
- name: Upload corpus
68
+ if: success() || failure()
69
uses: actions/upload-artifact@v6
70
with:
71
name: corpus
72
path: ./corpus
73
74
- name: Upload artifacts
75
76
77
78
name: artifacts
0 commit comments