From d7b6ae7864e39601a51442e453c410060510554c Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 2 Nov 2021 17:11:21 +0100 Subject: [PATCH 1/2] Create .codecov.yml I created a simple `.codecov.yml` as a quality of life improvement for Codecov's status reports. Closes #37 --- .codecov.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..e702d94a --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,16 @@ +# Documentation available at +# - https://docs.codecov.com/docs/codecovyml-reference +# - https://docs.codecov.com/docs/commit-status + +coverage: + range: 80..90 # set 95% and above as solid green, everything below 80% as red + status: + project: # set to `off` here and remove the lines below to disable this status + default: + threshold: 0.5% # allow this coverage drop without status failure + patch: # set to `off` here and remove the lines below to disable this status + default: + threshold: 0.5% # allow this coverage drop without status failure + +github_checks: + annotations: false From 22b6f225d9a4b3c7e16799db1e494e6a9c83de32 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 2 Nov 2021 17:12:03 +0100 Subject: [PATCH 2/2] Update .codecov.yml --- .codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codecov.yml b/.codecov.yml index e702d94a..af8195bd 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -3,7 +3,7 @@ # - https://docs.codecov.com/docs/commit-status coverage: - range: 80..90 # set 95% and above as solid green, everything below 80% as red + range: 80..90 # set 90% and above as solid green, everything below 80% as red status: project: # set to `off` here and remove the lines below to disable this status default: