-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
49 lines (45 loc) · 1.12 KB
/
Copy pathcodecov.yml
File metadata and controls
49 lines (45 loc) · 1.12 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
parsers:
lcov:
partials_as_hits: true
coverage:
status:
project:
default:
# Keep Codecov's project gate aligned with the hard local Vitest
# threshold so passing CI is not blocked by transient base-branch
# comparisons or historical carryforward variance.
target: 90%
threshold: 0%
patch:
default:
target: 90%
threshold: 1%
comment:
layout: 'condensed_header, diff, flags, components'
show_critical_paths: true
# app/ routes are thin wrappers over lib/server and are exercised via
# integration tests, not unit tests. Exclude them from the coverage
# denominator so the project status reflects unit-tested code only.
ignore:
- 'app/**'
- 'tests/**'
- '.next/**'
- 'coverage/**'
- 'node_modules/**'
- 'deploy/**'
- 'next-env.d.ts'
- 'next.config.ts'
- 'vitest.config.ts'
- 'vitest.setup.ts'
- 'eslint.config.ts'
- 'prettier.config.mts'
flag_management:
default_rules:
carryforward: false
statuses:
- type: project
target: 90%
threshold: 0%
- type: patch
target: 90%
threshold: 1%