From dc4a8b1bb9f6d1d9e784be7e4a0d64586bf1da2f Mon Sep 17 00:00:00 2001 From: Thumilan Mikunthan Date: Wed, 20 Nov 2024 10:32:28 +0530 Subject: [PATCH] Update code cov yml file --- codecov.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/codecov.yml b/codecov.yml index 25d8f2001..96f5d2dc7 100644 --- a/codecov.yml +++ b/codecov.yml @@ -2,14 +2,23 @@ codecov: 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%. + 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% +