Repository navigation
Expand file tree
/
Copy pathcodecov.yml
More file actions
104 lines (99 loc) · 2.07 KB
/
Copy pathcodecov.yml
File metadata and controls
104 lines (99 loc) · 2.07 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Codecov configuration for the vertz monorepo
# https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
# Overall project-level coverage gate
project:
default:
target: auto
threshold: 1%
# Don't fail the PR check if Codecov is unreachable
informational: true
# Per-PR coverage diff — show if the PR decreases coverage
patch:
default:
target: auto
threshold: 0%
informational: true
comment:
layout: "condensed_header, condensed_files, condensed_footer"
behavior: default
require_changes: true
require_base: false
require_head: true
# Exclude integration tests and test files from coverage
ignore:
- "packages/integration-tests/**"
- "packages/ui-canvas/**"
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/*.test-d.ts"
- "**/index.ts"
- "ci/**"
- "oxlint-plugins/**"
# Flag-based coverage for per-package tracking
flags:
cli:
paths:
- packages/cli/src/
carryforward: true
cli-runtime:
paths:
- packages/cli-runtime/src/
carryforward: true
cloudflare:
paths:
- packages/cloudflare/src/
carryforward: true
codegen:
paths:
- packages/codegen/src/
carryforward: true
compiler:
paths:
- packages/compiler/src/
carryforward: true
core:
paths:
- packages/core/src/
carryforward: true
db:
paths:
- packages/db/src/
carryforward: true
errors:
paths:
- packages/errors/src/
carryforward: true
fetch:
paths:
- packages/fetch/src/
carryforward: true
schema:
paths:
- packages/schema/src/
carryforward: true
server:
paths:
- packages/server/src/
carryforward: true
testing:
paths:
- packages/testing/src/
carryforward: true
tui:
paths:
- packages/tui/src/
carryforward: true
ui:
paths:
- packages/ui/src/
carryforward: true
ui-primitives:
paths:
- packages/ui-primitives/src/
carryforward: true
ui-server:
paths:
- packages/ui-server/src/
carryforward: true