From 3760ad298a266ea5ec5a8e614456673957284da1 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 2 May 2020 19:17:51 +0200 Subject: [PATCH] workflow: add custom codecov configuration --- .github/codecov.yml | 16 ++++++++++++++++ .github/workflows/ci.yml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/codecov.yml 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: