From ae01de067daeba9d080ef328744917e61496991e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 23 Oct 2024 15:43:03 +0530 Subject: [PATCH] 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