-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
49 lines (44 loc) · 1.09 KB
/
codecov.yml
File metadata and controls
49 lines (44 loc) · 1.09 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
# Codecov Configuration
# Reference: https://docs.codecov.com/docs/codecov-yaml
coverage:
# Overall project coverage settings
status:
project:
default:
# Coverage must not drop by more than 2%
threshold: 2%
# Don't fail CI if coverage drops (informational only for now)
informational: true
patch:
default:
# New code should have at least 50% coverage
target: 50%
informational: true
# Coverage precision (2 decimal places)
precision: 2
round: down
# Flags for coverage tracking
flags:
typescript:
paths:
- src/
carryforward: true
# PR comment settings
comment:
# Post comment on PR
layout: "header, diff, flags, components"
# Comment behavior
behavior: default
# Only comment when coverage changes
require_changes: true
# Show which flags have carryforward coverage in PR comment
show_carryforward_flags: true
# Ignore files from coverage
ignore:
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/*.spec.ts"
- "**/tests/**"
- "**/__tests__/**"
- "**/node_modules/**"
- "**/drizzle/**"