-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
44 lines (40 loc) · 940 Bytes
/
codecov.yml
File metadata and controls
44 lines (40 loc) · 940 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
43
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: auto
threshold: 0% # No coverage drops allowed - any decrease will fail the check
base: auto
if_ci_failed: error # Fail if CI fails
patch:
default:
target: auto
threshold: 0% # New code must maintain or improve coverage
base: auto
if_ci_failed: error
ignore:
- "benchmarks/**/*"
- "examples/**/*"
- "docs/**/*"
- "tests/**/*"
- "**/*.test.ts"
- "**/*.bench.ts"
- "**/*.d.ts"
- "build/**/*"
- "coverage/**/*"
- "node_modules/**/*"
- "src/**/types.ts" # Type definitions only
- "src/**/interfaces.ts" # Interface definitions only
comment:
layout: "reach,diff,flags,tree,footer"
behavior: default
require_changes: false
require_base: no
require_head: yes