Skip to content

Commit

Permalink
ci: Archive fuzz test data (ethereum-optimism#13321)
Browse files Browse the repository at this point in the history
When fuzz tests fail they write data to the test directory. This PR archives the fuzz data to make future debugging easier.
  • Loading branch information
mslipper authored Dec 9, 2024
1 parent 2bdb818 commit d1ccf72
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,18 @@ jobs:
if: ${{ uses_artifacts }}
- run:
name: Fuzz
command: make fuzz
command: |
make fuzz
working_directory: "<<parameters.package_name>>"
- run:
name: Copy fuzz artifacts
command: |
mkdir -p fuzzdata
find ./<<parameters.package_name>> -type d -name "fuzz" -exec sh -c 'cp -r "{}"/* fuzzdata/ 2>/dev/null || true' \;
when: always
- store_artifacts:
path: ./fuzzdata
when: always

go-lint:
machine: true
Expand Down

0 comments on commit d1ccf72

Please sign in to comment.