-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathcodecov.yml
More file actions
196 lines (189 loc) · 5.31 KB
/
Copy pathcodecov.yml
File metadata and controls
196 lines (189 loc) · 5.31 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
# Codecov configuration for redhat-developer/rhdh-plugins
# Reference: https://docs.codecov.com/docs/codecov-yaml
#
# Feature umbrella: RHDHPLAN-851
# Epic: RHIDP-11862 — Unit Test Coverage for RHDH Plugins Repository
#
# Each workspace uploads coverage with its own flag (e.g., intelligent-assistant,
# orchestrator). individual_flags scope each flag to its workspace path
# so the Flags page shows per-workspace coverage correctly.
#
# Component management groups workspaces by support level (GA, Tech-Preview,
# Community, Dev-Preview) for dashboard visualization. Generated from overlay
# repo metadata using scripts/generate-codecov-components.sh.
codecov:
require_ci_to_pass: false
notify:
wait_for_ci: true
coverage:
precision: 2
round: down
range: "40...80"
status:
project:
default:
target: auto
threshold: 100%
informational: true
only_pulls: false
paths:
- "workspaces/*/plugins/*/src/**"
patch:
default:
target: auto
threshold: 100%
informational: true
paths:
- "workspaces/*/plugins/*/src/**"
comment:
layout: "header, diff, flags, footer"
behavior: default
require_changes: false
show_carryforward_flags: true
ignore:
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/*.spec.ts"
- "**/*.spec.tsx"
- "**/index.ts"
- "**/__fixtures__/**"
- "**/__tests__/**"
- "**/__mocks__/**"
- "**/dist/**"
- "**/build/**"
- "**/node_modules/**"
- "**/setupTests.*"
- "**/playwright.config.ts"
- "**/scripts/**"
- "**/docs/**"
- "workspaces/*/packages/app/**"
- "workspaces/*/packages/app-legacy/**"
- "workspaces/*/packages/backend/**"
- "workspaces/plugins/*-test/**"
component_management:
# GENERATED — do not edit by hand.
# Source of truth: rhdh-plugin-export-overlays metadata (spec.support field).
# Regenerate with: scripts/generate-codecov-components.sh --write --overlay <overlay-repo>
# Drift is detected on PRs and synced weekly by
# .github/workflows/sync-codecov-components.yml.
# Only workspaces that exist in this repository are included.
# Note: workspaces with mixed support-level packages appear in multiple components.
individual_components:
# Generally-Available Plugins — 6 workspace(s)
- component_id: generally-available-plugins
name: 'Generally-Available Plugins'
paths:
- workspaces/adoption-insights/
- workspaces/global-header/
- workspaces/homepage/
- workspaces/lightspeed/
- workspaces/orchestrator/
- workspaces/quickstart/
# Tech-Preview Plugins — 4 workspace(s)
- component_id: tech-preview-plugins
name: 'Tech-Preview Plugins'
paths:
- workspaces/bulk-import/
- workspaces/cost-management/
- workspaces/extensions/
- workspaces/homepage/
# Community Plugins — 3 workspace(s)
- component_id: community-plugins
name: 'Community Plugins'
paths:
- workspaces/theme/
- workspaces/translations/
- workspaces/x2a/
# Dev-Preview Plugins — 5 workspace(s)
- component_id: dev-preview-plugins
name: 'Dev-Preview Plugins'
paths:
- workspaces/ai-integrations/
- workspaces/app-defaults/
- workspaces/konflux/
- workspaces/mcp-integrations/
- workspaces/scorecard/
flag_management:
default_rules:
carryforward: true
statuses: []
individual_flags:
- name: adoption-insights
paths:
- workspaces/adoption-insights/
- name: ai-integrations
paths:
- workspaces/ai-integrations/
- name: app-defaults
paths:
- workspaces/app-defaults/
- name: augment
paths:
- workspaces/augment/
- name: bulk-import
paths:
- workspaces/bulk-import/
- name: cost-management
paths:
- workspaces/cost-management/
- name: dcm
paths:
- workspaces/dcm/
# E2E coverage flags — cross-repo uploads from overlay E2E pipeline (RHIDP-13411)
- name: e2e-adoption-insights
paths:
- workspaces/adoption-insights/
- name: e2e-global-header
paths:
- workspaces/global-header/
- name: e2e-homepage
paths:
- workspaces/homepage/
- name: e2e-quickstart
paths:
- workspaces/quickstart/
- name: e2e-scorecard
paths:
- workspaces/scorecard/
- name: e2e-theme
paths:
- workspaces/theme/
- name: extensions
paths:
- workspaces/extensions/
- name: global-header
paths:
- workspaces/global-header/
- name: homepage
paths:
- workspaces/homepage/
- name: konflux
paths:
- workspaces/konflux/
- name: intelligent-assistant
paths:
- workspaces/lightspeed/
- name: mcp-integrations
paths:
- workspaces/mcp-integrations/
- name: orchestrator
paths:
- workspaces/orchestrator/
- name: quickstart
paths:
- workspaces/quickstart/
- name: repo-tools
paths:
- workspaces/repo-tools/
- name: scorecard
paths:
- workspaces/scorecard/
- name: theme
paths:
- workspaces/theme/
- name: translations
paths:
- workspaces/translations/
- name: x2a
paths:
- workspaces/x2a/