From e1482dee2bdee6b07201a1f240cd070a84f820b0 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sun, 6 Aug 2023 00:27:44 -0400 Subject: [PATCH] Improve codecov configuration * Project checks will tolerate a -0.5% drop and still pass. This prevents minor changes and non-code changes from failing the CI checks. * Patch checks require 75% coverage of the changed code to pass --- codecov.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/codecov.yaml b/codecov.yaml index d92656b6f..0d849dc56 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -2,7 +2,24 @@ coverage: range: 60..80 round: nearest precision: 2 + status: + project: + default: + target: auto + threshold: 0.5% + paths: + - "src" + patch: + default: + target: 75% + threshold: 0% + paths: + - "src" fixes: - "*/src/::" +ignore: + - "src/gui/styles/**" + - "src/thirdparty/**" + - "src/zxcvbn/**" comment: require_changes: true