-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathcodecov.yml
More file actions
137 lines (131 loc) · 3.07 KB
/
codecov.yml
File metadata and controls
137 lines (131 loc) · 3.07 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
# 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., lightspeed,
# orchestrator). individual_flags scope each flag to its workspace path
# so the Flags page shows per-workspace coverage correctly.
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/**"
flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: auto
threshold: 100%
- type: patch
target: auto
threshold: 100%
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/
- name: extensions
paths:
- workspaces/extensions/
- name: global-floating-action-button
paths:
- workspaces/global-floating-action-button/
- name: global-header
paths:
- workspaces/global-header/
- name: homepage
paths:
- workspaces/homepage/
- name: konflux
paths:
- workspaces/konflux/
- name: lightspeed
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: sandbox
paths:
- workspaces/sandbox/
- name: scorecard
paths:
- workspaces/scorecard/
- name: theme
paths:
- workspaces/theme/
- name: translations
paths:
- workspaces/translations/
- name: x2a
paths:
- workspaces/x2a/