diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 0000000000..b4bba76898 --- /dev/null +++ b/.github/codecov.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7ae931da3..e709f364bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: