From 0a46afca4572ed889e7c8c1871d61be00dbc5012 Mon Sep 17 00:00:00 2001 From: Thumilan Mikunthan Date: Wed, 20 Nov 2024 10:11:51 +0530 Subject: [PATCH] Update code cov yml file --- codecov.yml | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/codecov.yml b/codecov.yml index 90e3c6c4..96f5d2dc 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,15 +1,24 @@ codecov: - require_ci_to_pass: yes - notify: - wait_for_ci: yes + require_ci_to_pass: yes + notify: + wait_for_ci: yes + max_report_age: false + coverage: - status: - project: # checks the effect for the overall code coverage rate of the repository. - default: - enabled: yes - threshold: null - target: auto - patch: # This status indicates the extent of code coverage achieved by the pull request. - default: - target: 80% - threshold: 40% # With a target of 80% and a threshold of 40%, the acceptable coverage range is 40% to 80%. + status: + project: off + patch: off + +flag_management: + default_rules: + carryforward: true + individual_flags: + - name: unit + statuses: + - type: project + target: auto + threshold: null + - type: patch + target: 80% + threshold: 40% +