Skip to content

Commit 3617797

Browse files
committed
updated codecov config
1 parent a40ca1c commit 3617797

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

.github/codecov.yml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
comment:
22
behavior: default
3-
layout: reach, diff, flags, files
3+
layout: reach, diff, flags, files, components
44
require_base: false
55
require_changes:
66
- 0
@@ -109,6 +109,50 @@ flag_management:
109109
type: project
110110
- target: 80.0
111111
type: patch
112+
# Component configuration for more flexible reporting
113+
component_management:
114+
default_rules:
115+
statuses:
116+
- type: project
117+
target: auto
118+
threshold: 1.0
119+
individual_components:
120+
- component_id: app_core
121+
name: Core
122+
paths:
123+
- backend/core/.*
124+
- component_id: app_users
125+
name: Users
126+
paths:
127+
- backend/apps/users/.*
128+
- component_id: app_monitoring
129+
name: Monitoring
130+
paths:
131+
- backend/apps/monitoring/.*
132+
- component_id: app_caching
133+
name: Caching
134+
paths:
135+
- backend/apps/core/.*
136+
- component_id: app_stripe
137+
name: Stripe Integration
138+
paths:
139+
- backend/apps/stripe_home/.*
140+
- component_id: app_supabase
141+
name: Supabase Integration
142+
paths:
143+
- backend/apps/supabase_home/.*
144+
- component_id: app_credits
145+
name: Credits System
146+
paths:
147+
- backend/apps/credits/.*
148+
- component_id: apis
149+
name: API Components
150+
paths:
151+
- backend/.*/api/.*
152+
- component_id: tests
153+
name: Test Coverage
154+
paths:
155+
- backend/.*/tests/.*
112156
ignore:
113157
- (?s:.*/migrations/.*)\Z
114158
- (?s:.*/admin\.py)\Z

0 commit comments

Comments
 (0)