-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codecov.yml
More file actions
167 lines (163 loc) · 3.88 KB
/
.codecov.yml
File metadata and controls
167 lines (163 loc) · 3.88 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
comment:
layout: "header, diff, components, files, footer"
hide_project_coverage: false
require_changes: true
require_base: false
require_head: true
behavior: default
ignore:
- "**/__tests__/**"
- "**/.astro/**"
- "**/.nx/**"
- "**/*.config.cjs"
- "**/*.config.js"
- "**/*.config.mjs"
- "**/*.config.ts"
- "**/*.test.js"
- "**/*.test.ts"
- "**/bin/**"
- "**/build/**"
- "**/dist/**"
- "**/docs/**"
- "**/esm/**"
- "**/index.cjs"
- "**/index.js"
- "**/index.mjs"
- "**/index.ts"
- "**/test/**"
- "**/tests/**"
coverage:
status:
project:
default:
target: auto
threshold: 1%
base: auto
patch:
default:
informational: true
# Flags configuration for monorepo packages
# Each flag corresponds to a package and enables carryforward
# Carryforward preserves coverage for packages not tested in a commit
flags:
cli:
paths:
- packages/cli/
carryforward: true
cli-api:
paths:
- packages/cli-api/
carryforward: true
dill:
paths:
- packages/dill-cli/
carryforward: true
fundamentals:
paths:
- packages/fundamentals/
carryforward: true
lilconfig-loader-ts:
paths:
- packages/lilconfig-loader-ts/
carryforward: true
rehype-footnotes:
paths:
- packages/rehype-footnotes/
carryforward: true
remark-lazy-links:
paths:
- packages/remark-lazy-links/
carryforward: true
remark-shift-headings:
paths:
- packages/remark-shift-headings/
carryforward: true
remark-task-table:
paths:
- packages/remark-task-table/
carryforward: true
repopo:
paths:
- packages/repopo/
carryforward: true
sail:
paths:
- packages/sail/
carryforward: true
sail-infrastructure:
paths:
- packages/sail-infrastructure/
carryforward: true
sort-tsconfig:
paths:
- packages/sort-tsconfig/
carryforward: true
xkcd2-api:
paths:
- packages/xkcd2-api/
carryforward: true
component_management:
default_rules: # default rules that will be inherited by all components
statuses:
- type: project # in this case every component that doesn't have a status defined will have a project type one
target: auto
threshold: 1%
branches:
- "!main"
individual_components:
- component_id: cli
name: cli
paths:
- packages/cli/**
- component_id: cli-api
name: cli-api
paths:
- packages/cli-api/**
- component_id: dill # this is an identifier that should not be changed
name: dill # this is a display name, and can be changed freely
paths:
- packages/dill-cli/**
- component_id: fundamentals
name: fundamentals
paths:
- packages/fundamentals/**
- component_id: lilconfig-loader-ts
name: lilconfig-loader-ts
paths:
- packages/lilconfig-loader-ts/**
- component_id: rehype-footnotes
name: rehype-footnotes
paths:
- packages/rehype-footnotes/**
- component_id: remark-lazy-links
name: remark-lazy-links
paths:
- packages/remark-lazy-links/**
- component_id: remark-shift-headings
name: remark-shift-headings
paths:
- packages/remark-shift-headings/**
- component_id: remark-task-table
name: remark-task-table
paths:
- packages/remark-task-table/**
- component_id: repopo
name: repopo
paths:
- packages/repopo/**
- component_id: sail
name: sail
paths:
- packages/sail/**
- component_id: sail-infrastructure
name: sail-infrastructure
paths:
- packages/sail-infrastructure/**
- component_id: sort-tsconfig
name: sort-tsconfig
paths:
- packages/sort-tsconfig/**
- component_id: xkcd2-api
name: xkcd2-api
paths:
- packages/xkcd2-api/**