workflow: add custom codecov configuration

This commit is contained in:
rdb 2020-05-02 19:17:51 +02:00
parent 3000aa2369
commit 3760ad298a
2 changed files with 17 additions and 1 deletions

16
.github/codecov.yml vendored Normal file
View File

@ -0,0 +1,16 @@
coverage:
status:
project:
default:
threshold: 0.1
patch:
default:
threshold: 0.1
codecov:
require_ci_to_pass: true
notify:
after_n_builds: 2
wait_for_ci: true
comment:
require_changes: true
after_n_builds: 2

View File

@ -323,7 +323,7 @@ jobs:
llvm-profdata merge pid-*.profraw -o coverage.profdata
llvm-cov show $(grep -Rl LLVM_PROFILE_FILE . | sed 's/^/-object /') -instr-profile=coverage.profdata > coverage.txt
bash <(curl -s https://codecov.io/bash)
bash <(curl -s https://codecov.io/bash) -y ../.github/codecov.yml
makepanda:
strategy: