Skip to content

Commit dba1a07

Browse files
author
Zoo (VP)
committed
fix: restore codecov.yml to upstream 80% patch coverage threshold
1 parent ea26ba9 commit dba1a07

1 file changed

Lines changed: 59 additions & 57 deletions

File tree

‎codecov.yml‎

Lines changed: 59 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,59 @@
1-
coverage:
2-
precision: 2
3-
round: down
4-
status:
5-
project:
6-
default:
7-
target: auto # never regress below current baseline
8-
threshold: 1%
9-
webview:
10-
target: auto # webview project ratchet: never drop below current baseline
11-
threshold: 0.5%
12-
flags:
13-
- webview-ui
14-
- webview-ui-ct
15-
patch:
16-
default:
17-
informational: true # patch coverage is advisory, not blocking
18-
webview-patch:
19-
informational: true # patch coverage is advisory, not blocking
20-
flags:
21-
- webview-ui
22-
- webview-ui-ct
23-
24-
flag_management:
25-
individual_flags:
26-
- name: webview-ui
27-
paths:
28-
- webview-ui/src/
29-
carryforward: true
30-
- name: webview-ui-ct
31-
paths:
32-
- webview-ui/src/
33-
carryforward: true
34-
- name: core-unit
35-
paths:
36-
- packages/core/src/
37-
carryforward: true
38-
- name: core-integration
39-
paths:
40-
- packages/core/src/
41-
carryforward: true
42-
43-
component_management:
44-
individual_components:
45-
- component_id: webview_components
46-
name: "Webview UI Components"
47-
paths:
48-
- webview-ui/src/components/
49-
- component_id: webview_state
50-
name: "Webview State & Context"
51-
paths:
52-
- webview-ui/src/context/
53-
- webview-ui/src/state/
54-
55-
comment:
56-
layout: "diff, flags, components"
57-
behavior: default
1+
coverage:
2+
precision: 2
3+
round: down
4+
status:
5+
project:
6+
default:
7+
target: auto # never regress below current baseline
8+
threshold: 1%
9+
webview:
10+
target: auto # webview project ratchet: never drop below current baseline
11+
threshold: 0.5%
12+
flags:
13+
- webview-ui
14+
- webview-ui-ct
15+
patch:
16+
default:
17+
target: 80% # new lines must be 80% covered
18+
threshold: 0%
19+
webview-patch:
20+
target: 70% # new lines in webview must be 70% covered
21+
threshold: 0%
22+
flags:
23+
- webview-ui
24+
- webview-ui-ct
25+
26+
flag_management:
27+
individual_flags:
28+
- name: webview-ui
29+
paths:
30+
- webview-ui/src/
31+
carryforward: true
32+
- name: webview-ui-ct
33+
paths:
34+
- webview-ui/src/
35+
carryforward: true
36+
- name: core-unit
37+
paths:
38+
- packages/core/src/
39+
carryforward: true
40+
- name: core-integration
41+
paths:
42+
- packages/core/src/
43+
carryforward: true
44+
45+
component_management:
46+
individual_components:
47+
- component_id: webview_components
48+
name: "Webview UI Components"
49+
paths:
50+
- webview-ui/src/components/
51+
- component_id: webview_state
52+
name: "Webview State & Context"
53+
paths:
54+
- webview-ui/src/context/
55+
- webview-ui/src/state/
56+
57+
comment:
58+
layout: "diff, flags, components"
59+
behavior: default

0 commit comments

Comments
 (0)