From 8090220963752865380ab3d95faec25e5ef3057f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 25 Apr 2022 12:43:22 +0200 Subject: [PATCH] ci: Add codecov config file Be tolerant for coverage of new PRs --- codecov.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 codecov.yaml diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 000000000..0b0f92f04 --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,16 @@ +coverage: + status: + project: + default: + # Commits pushed to master should not make the overall + # project coverage decrease by more than 1%: + target: auto + threshold: 1% + patch: + default: + # Be tolerant on slight code coverage diff on PRs to limit + # noisy red coverage status on github PRs. + # Note: The coverage stats are still uploaded + # to codecov so that PR reviewers can see uncovered lines + target: auto + threshold: 1% \ No newline at end of file