-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
92 lines (79 loc) · 1.6 KB
/
Copy pathcodecov.yml
File metadata and controls
92 lines (79 loc) · 1.6 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
# Codecov configuration file
# See: https://docs.codecov.com/docs/codecov-yaml
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes
coverage:
precision: 2
round: down
range: "90...100"
status:
project:
default:
target: 90%
threshold: 2%
if_ci_failed: error
patch:
default:
target: 90%
threshold: 5%
ignore:
# Ignore configuration files
- "**/.eslintrc.*"
- "**/jest.config.*"
- "**/vite.config.*"
- "**/vitest.config.*"
# Ignore build outputs
- "**/build/**"
- "**/dist/**"
# Ignore test files themselves
- "**/tests/**"
- "**/*test*"
- "**/*spec*"
# Ignore documentation
- "**/*.md"
# Ignore database migrations
- "**/alembic/**"
- "back/alembic/**"
# Ignore core configuration
- "back/core/**"
# Ignore specific files
- "front/app/root.tsx"
- "front/app/routes.ts"
flags:
backend:
paths:
- back/
carryforward: true
simulation:
paths:
- sim/
carryforward: true
frontend:
paths:
- front/app/
carryforward: true
component_management:
individual_components:
- component_id: backend_component
name: Backend
flag_regexes:
- ^backend$
paths:
- back/**
- component_id: frontend_component
name: Frontend
flag_regexes:
- ^frontend$
paths:
- front/app/**
- component_id: simulation_component
name: Simulation
flag_regexes:
- ^simulation$
paths:
- sim/**
comment: false
github_checks:
annotations: true