-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathcodecov.yml
More file actions
67 lines (63 loc) · 1.82 KB
/
Copy pathcodecov.yml
File metadata and controls
67 lines (63 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
coverage:
precision: 2
round: down
status:
project:
default:
target: auto # never regress below current baseline
threshold: 1%
webview:
target: auto # webview project ratchet: never drop below current baseline
threshold: 0.5%
flags:
- webview-ui
- webview-ui-ct
patch:
default:
target: 80% # new lines must be 80% covered
threshold: 0%
webview-patch:
target: 70% # new lines in webview must be 70% covered
threshold: 0%
flags:
- webview-ui
- webview-ui-ct
flag_management:
individual_flags:
- name: webview-ui
paths:
- webview-ui/src/
carryforward: true
- name: webview-ui-ct
paths:
- webview-ui/src/
carryforward: true
- name: core-unit
paths:
- packages/core/src/
carryforward: true
- name: core-integration
paths:
- packages/core/src/
carryforward: true
ignore:
# Playwright CT-only fixtures/helpers: exercised by the webview-ui-ct flag's browser run, not
# Vitest, and excluded from that flag's own lcov by playwright-ct.config.ts's sourceFilter (same
# ".visual." match). Without this, patch coverage sees 0% for these paths on any PR that adds or
# touches one, since no flag's lcov contains them.
- "webview-ui/src/**/*.visual.fixture.tsx"
- "webview-ui/src/**/*.visual.i18n.ts"
component_management:
individual_components:
- component_id: webview_components
name: "Webview UI Components"
paths:
- webview-ui/src/components/
- component_id: webview_state
name: "Webview State & Context"
paths:
- webview-ui/src/context/
- webview-ui/src/state/
comment:
layout: "diff, flags, components"
behavior: default