Skip to content

Commit 7cfee8b

Browse files
authored
ci(coverage): update patch coverage threshold (#12733)
1 parent 5f5e395 commit 7cfee8b

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.github/.codecov.yml

+9-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
comment:
2-
layout: "header, files, footer" # remove "new" from "header" and "footer"
3-
hide_project_coverage: true # set to false
2+
layout: "condensed_header, condensed_files, condensed_footer"
3+
hide_project_coverage: true
44
require_changes: false # if true: only post the comment if coverage changes
55

66
codecov:
77
#due to ci-optimization, reports for modules that have not changed may be quite old
88
max_report_age: off
99

10+
github_checks:
11+
#Hide annotations that show up in github PR reviews. There still is a red bar next to lines not covered
12+
annotations: false
13+
1014
flag_management:
1115
default_rules: # the rules that will be followed for any flag added, generally
1216
carryforward: true
13-
statuses:
14-
- type: project
15-
target: auto
16-
threshold: 0% #Not enforcing project coverage yet.
17-
- type: patch
18-
target: 90%
1917
individual_flags: # exceptions to the default rules above, stated flag by flag
2018
- name: frontend
2119
paths:
@@ -55,11 +53,8 @@ flag_management:
5553
- "metadata-ingestion-modules/prefect-plugin/**"
5654
coverage:
5755
status:
58-
project:
59-
default:
60-
target: 0% # no threshold enforcement yet
61-
only_pulls: true
56+
project: false
6257
patch:
6358
default:
64-
target: 90% # for new code added in the patch
65-
only_pulls: true
59+
target: 75% # for new code added in the patch
60+
only_pulls: true

0 commit comments

Comments
 (0)