From 60cda54c5988d1c249ce056b86c38508ce45afdf Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Wed, 15 May 2024 10:20:25 +0200 Subject: [PATCH] set a 1% theshold for coverage changes Our tests are somewhat inconsistent in their coverage, so coverage can go down slightly even with unrelated changes. We also have untested code, and small tweaks will often be shown as a reduction in coverage. Setting a 1% threshold will reduce friction on both of these cases. Any larger changes will still require an increase in coverage, so we should still trend upward over time. --- codecov.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/codecov.yml b/codecov.yml index 72214a6d0..be10c0793 100644 --- a/codecov.yml +++ b/codecov.yml @@ -6,3 +6,11 @@ comment: require_base: false # [true :: must have a base report to post] require_head: true # [true :: must have a head report to post] hide_project_coverage: false # [true :: only show coverage on the git diff] +coverage: + status: + patch: + default: + threshold: 1% + project: + default: + threshold: 1%