-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
101 lines (86 loc) · 2 KB
/
Copy pathcodecov.yml
File metadata and controls
101 lines (86 loc) · 2 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
# Codecov Configuration for code-quality (Rook)
# Backend (Rust) + Frontend (Vue.js Dashboard)
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: 1%
informational: false
# Backend (Rust) coverage target
backend:
target: 85%
threshold: 2%
flags:
- backend
informational: false
# Frontend (Dashboard) coverage target
frontend:
target: 80%
threshold: 2%
flags:
- frontend
informational: false
patch:
default:
target: 80%
threshold: 5%
informational: false
backend:
target: 85%
threshold: 5%
flags:
- backend
frontend:
target: 75%
threshold: 5%
flags:
- frontend
# Flag Management - Automatic approach
flag_management:
default_rules:
carryforward: true
individual_flags:
- name: backend
paths:
- "apps/rook/src/**"
- "apps/rook/tests/**"
- "crates/**"
carryforward: true
- name: frontend
paths:
- "apps/rook/dashboard/**"
carryforward: true
# Comment configuration
comment:
layout: "header, diff, flags, components, files, footer"
behavior: default
require_changes: false
require_base: yes
require_head: yes
branches: null
# Wait for both backend and frontend reports before commenting
# See docs/codecov-setup.md for troubleshooting delayed/missing comments
after_n_builds: 2
# Ignore patterns
ignore:
- "apps/rook/dashboard/node_modules"
- "apps/rook/dashboard/dist"
- "target/**"
- "**/*.test.ts"
- "**/*.spec.ts"
- "**/__tests__/**"
# Bundle Analysis Configuration (for frontend)
bundle_analysis:
warning_threshold: "5%"
status: "informational"
# GitHub-specific configuration
github_checks:
annotations: true