-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
207 lines (198 loc) · 4.05 KB
/
codecov.yml
File metadata and controls
207 lines (198 loc) · 4.05 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
---
# Codecov Configuration
# https://docs.codecov.com/docs/codecovyml-reference
# Coverage settings
coverage:
precision: 2
round: down
range: "70...100"
# Status checks on pull requests
status:
project:
default:
target: auto
threshold: 1% # Allow 1% drop
informational: false
patch:
default:
target: 80%
threshold: 5%
informational: false
# PR comment configuration
comment:
layout: "header, diff, flags, components, files, footer"
behavior: default
require_changes: true
require_base: false
require_head: true
# Flag configuration for different coverage types
flags:
api:
paths:
- "api/**"
carryforward: true
common:
paths:
- "common/**"
carryforward: true
dashboard:
paths:
- "dashboard/**"
carryforward: true
explore:
paths:
- "explore/**"
carryforward: true
explore-js:
paths:
- "explore/static/js/**"
carryforward: true
explore-e2e-js:
paths:
- "explore/static/js/**"
carryforward: false
graphinator:
paths:
- "graphinator/**"
carryforward: true
schema-init:
paths:
- "schema-init/**"
carryforward: true
tableinator:
paths:
- "tableinator/**"
carryforward: true
insights:
paths:
- "insights/**"
carryforward: true
mcp-server:
paths:
- "mcp-server/**"
carryforward: true
extractor:
paths:
- "extractor/**"
carryforward: true
brainzgraphinator:
paths:
- "brainzgraphinator/**"
carryforward: true
brainztableinator:
paths:
- "brainztableinator/**"
carryforward: true
e2e-chromium:
paths:
- "dashboard/**"
- "explore/**"
- "common/**"
carryforward: false
e2e-firefox:
paths:
- "dashboard/**"
- "explore/**"
- "common/**"
carryforward: false
e2e-webkit:
paths:
- "dashboard/**"
- "explore/**"
- "common/**"
carryforward: false
e2e-iphone-15:
paths:
- "dashboard/**"
- "explore/**"
- "common/**"
carryforward: false
e2e-ipad-pro-11:
paths:
- "dashboard/**"
- "explore/**"
- "common/**"
carryforward: false
# Component configuration
component_management:
default_rules:
statuses:
- type: project
target: auto
individual_components:
- component_id: api
name: API
paths:
- "api/**"
- component_id: common
name: Common
paths:
- "common/**"
- component_id: dashboard
name: Dashboard
paths:
- "dashboard/**"
- component_id: explore
name: Explore
paths:
- "explore/**"
- component_id: extractor
name: Extractor
paths:
- "extractor/**"
- component_id: graphinator
name: Graphinator
paths:
- "graphinator/**"
- component_id: insights
name: Insights
paths:
- "insights/**"
- component_id: mcp-server
name: MCP Server
paths:
- "mcp-server/**"
- component_id: schema-init
name: Schema-Init
paths:
- "schema-init/**"
- component_id: tableinator
name: Tableinator
paths:
- "tableinator/**"
- component_id: brainzgraphinator
name: Brainzgraphinator
paths:
- "brainzgraphinator/**"
- component_id: brainztableinator
name: Brainztableinator
paths:
- "brainztableinator/**"
# Ignore patterns
ignore:
- "tests/**"
- "**/__pycache__/**"
- "**/node_modules/**"
- "**/.venv/**"
- "**/venv/**"
- "**/*.pyc"
# Parsers configuration - disable unused parsers to prevent warnings
parsers:
gcov:
branch_detection:
conditional: true
loop: true
method: false
macro: false
v1:
include_full_missed_files: false
# CLI behavior configuration
cli:
# Disable automatic search for coverage.py to prevent warnings
# We explicitly provide coverage files in the GitHub Actions workflow
runners:
use:
- python
- rust
# Integrations
slack_app: false