From c3e257bc7fcdb5c678191da8fbbf4bc764eeb70a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20=C5=A0imko?= Date: Tue, 8 Aug 2023 15:59:16 +0200 Subject: [PATCH] codecov: add threshold values Adds desired targets and threshold values for code coverage tests in pull requests. Removes custom code coverage range to fall back to codecov defaults. --- .github/codecov.yml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index d7b72e6..9c310d0 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -1,20 +1,26 @@ codecov: - require_ci_to_pass: yes + require_ci_to_pass: yes coverage: - precision: 2 - round: down - range: "80...100" + status: + patch: + default: + informational: true + project: + default: + base: auto + target: auto + threshold: 2% parsers: - gcov: - branch_detection: - conditional: yes - loop: yes - method: no - macro: no + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no comment: - layout: "reach,diff,flags,tree" - behavior: default - require_changes: no \ No newline at end of file + layout: "reach,diff,flags,tree" + behavior: default + require_changes: no