From ae01de067daeba9d080ef328744917e61496991e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 23 Oct 2024 15:43:03 +0530 Subject: [PATCH 1/2] add code cov checks --- codecov.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/codecov.yaml b/codecov.yaml index a76f03552..f949ad7ca 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -18,4 +18,15 @@ component_management: paths: - "*/proxy/auth/**" comment: - layout: "header, diff, flags, components" # show component info in the PR comment \ No newline at end of file + layout: "header, diff, flags, components" # show component info in the PR comment + +coverage: + status: + project: + default: + target: auto + threshold: 1 # at maximum allow coverage to drop by 1% + patch: + default: + target: auto + threshold: 80% # at minimum patch coverage should be 80% \ No newline at end of file From 85f1e5ccfdba71cd75ce758e85268668617da76f Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 23 Oct 2024 15:44:27 +0530 Subject: [PATCH 2/2] fix comment --- codecov.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codecov.yaml b/codecov.yaml index f949ad7ca..c25cf0fba 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -25,8 +25,8 @@ coverage: project: default: target: auto - threshold: 1 # at maximum allow coverage to drop by 1% + threshold: 1% # at maximum allow project coverage to drop by 1% patch: default: target: auto - threshold: 80% # at minimum patch coverage should be 80% \ No newline at end of file + threshold: 0% # patch coverage should be 100%