-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
79 lines (69 loc) · 1.33 KB
/
codecov.yml
File metadata and controls
79 lines (69 loc) · 1.33 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
# Codecov configuration for Villa project
# Docs: https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
project:
default:
target: auto
threshold: 0%
if_ci_failed: error
patch:
default:
target: 80%
threshold: 5%
if_ci_failed: error
precision: 2
round: down
range: 70...100
# Package-specific flags
flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: auto
- type: patch
target: 80%
flags:
hub:
paths:
- apps/hub/src/
carryforward: true
sdk:
paths:
- packages/sdk/src/
carryforward: true
ui:
paths:
- packages/ui/src/
carryforward: true
api:
paths:
- apps/api/src/
carryforward: true
contracts:
paths:
- contracts/src/
carryforward: true
# Pull request comments
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: true
require_base: false
require_head: true
# Ignore paths (generated code, test files, config)
ignore:
- "**/*.test.ts"
- "**/*.test.tsx"
- "**/*.spec.ts"
- "**/*.spec.tsx"
- "**/tests/**"
- "**/__tests__/**"
- "**/.next/**"
- "**/dist/**"
- "**/node_modules/**"
- "**/*.config.ts"
- "**/*.config.js"
- "**/playwright-report/**"
- "**/coverage/**"