From 6bda2adaebb9c2533d60d0808f723a4043fd007f Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 30 Jan 2024 00:22:53 +0100 Subject: [PATCH] Chore: Add relaxed Codecov configuration This configures a large leniency of 25%, because patches submitted by external contributors will not cover the whole codebase, because they can't use OPS credentials on CI/GHA. --- codecov.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..3c076d0 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,18 @@ +# https://docs.codecov.io/docs/common-recipe-list +# https://docs.codecov.io/docs/commit-status#patch-status + +# This configures a large leniency of 25%, because patches submitted by +# external contributors will not cover the whole codebase, because they +# can't use OPS credentials on CI/GHA. + +coverage: + status: + + project: + default: + target: auto # the required coverage value + threshold: 25% # the leniency in hitting the target + + patch: + default: + informational: true