Skip to content

Commit

Permalink
ci: Upload fuzzing coverage profile
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Mar 25, 2022
1 parent 0acb8c5 commit 3448159
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ jobs:
command: |
go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
go-fuzz-build
timeout --preserve-status --signal INT 1m go-fuzz -procs=2
timeout --preserve-status --signal INT 1m go-fuzz -dumpcover -procs=2
test ! "$(ls crashers)"
- save_cache:
key: corpus-v2-{{ epoch }}
paths:
- corpus
- run:
name: "Codecov upload (fuzzing)"
command: bash <(curl -s https://codecov.io/bash) -F fuzz -f coverprofile
- run:
name: "Benchmark"
command: go test -run=- -bench=. -benchmem
Expand Down

0 comments on commit 3448159

Please sign in to comment.