-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
45 lines (39 loc) · 1.04 KB
/
codecov.yml
File metadata and controls
45 lines (39 loc) · 1.04 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
# Codecov Configuration
# https://docs.codecov.com/docs/codecovyml-reference
# Disable PR comments - just show status checks
comment: false
coverage:
# Coverage precision (decimal places)
precision: 2
round: down
range: 70..100
status:
# Project coverage status - informational only
project:
default:
target: auto # Compare to base commit
threshold: 5% # Allow 5% drop without changing status
informational: true # Won't block PRs
# Patch coverage status - informational only
patch:
default:
target: auto # Compare to base commit
threshold: 5% # Allow 5% drop without changing status
informational: true # Won't block PRs
# Flag configuration to track unit vs integration test coverage
flags:
unit-tests:
paths:
- src/**
carryforward: false
integration-tests:
paths:
- src/**
carryforward: false
# Ignore common non-source paths
ignore:
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/dist/**"
- "**/node_modules/**"
- "**/coverage/**"