From 919b26a540d04790481343b8e3bc9cc54a866eeb Mon Sep 17 00:00:00 2001 From: Josef Kopriva Date: Sat, 14 Oct 2023 00:55:08 +0200 Subject: [PATCH] Set threshold to 1% (#483) Signed-off-by: Josef Kopriva Co-authored-by: Matous Jobanek --- .codecov.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.codecov.yaml b/.codecov.yaml index f3e0f1d9..6b214cca 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -1,3 +1,4 @@ +# Config can be validated before merging: curl -X POST --data-binary @codecov.yaml https://codecov.io/validate # See http://docs.codecov.io/docs/coverage-configuration coverage: precision: 2 # 2 = xx.xx%, 0 = xx% @@ -11,7 +12,10 @@ coverage: status: # project will give us the diff in the total code coverage between a commit # and its parent - project: yes + project: + default: + # Allow the coverage to drop by 1% and posting a success status. + threshold: 1% # Patch gives just the coverage of the patch patch: yes # changes tells us if there are unexpected code coverage changes in other files