Skip to content

Commit 44d4a36

Browse files
committed
s
1 parent c61bae6 commit 44d4a36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/fuzz.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,18 @@ jobs:
6161
mkdir corpus
6262
mkdir artifacts
6363
./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
6466
6567
- name: Upload corpus
68+
if: success() || failure()
6669
uses: actions/upload-artifact@v6
6770
with:
6871
name: corpus
6972
path: ./corpus
7073

7174
- name: Upload artifacts
75+
if: success() || failure()
7276
uses: actions/upload-artifact@v6
7377
with:
7478
name: artifacts

0 commit comments

Comments
 (0)