-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathcodecov.yml
More file actions
42 lines (38 loc) · 944 Bytes
/
codecov.yml
File metadata and controls
42 lines (38 loc) · 944 Bytes
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
codecov:
require_ci_to_pass: false
coverage:
status:
project:
default:
target: auto
threshold: 1%
informational: true
patch:
default:
informational: true
flag_management:
default_rules:
carryforward: true
individual_flags:
- name: backend
paths:
- src/backend/
- name: frontend
paths:
- src/frontend/
# Test runners emit paths relative to their working directory, not the repo
# root, so Codecov can't resolve them against the file tree:
# - vitest runs from src/frontend → "src/app.tsx"
# - pytest runs from src → "backend/src/..."
# Rewrite both back to repo-root paths.
fixes:
- "src/::src/frontend/src/"
- "backend/::src/backend/"
ignore:
- "**/node_modules/**"
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/*.spec.ts"
- "**/*.spec.tsx"
- "src/frontend/src/test/**"
- "src/frontend/src/components/ui/**"