-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.codecov.yml
More file actions
69 lines (63 loc) · 1.21 KB
/
.codecov.yml
File metadata and controls
69 lines (63 loc) · 1.21 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
# Codecov configuration for monorepo
coverage:
status:
project:
default:
target: 80%
threshold: 5%
mobile-web:
flags: mobile-web
target: 85%
threshold: 5%
monorepo:
flags: monorepo
target: 82%
threshold: 5%
patch:
default:
target: 80%
threshold: 5%
# Coverage reports configuration
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes
# Comment configuration for PRs
comment:
layout: 'reach, diff, flags, files'
behavior: default
require_changes: no
# Ignore certain files/directories
ignore:
- 'packages/*/node_modules/'
- 'packages/*/dist/'
- 'packages/*/coverage/'
- '**/*.test.ts'
- '**/*.spec.ts'
- '**/*.config.ts'
- '**/*.d.ts'
- '**/src/scripts/*.ts'
# Flag-specific configurations
flags:
# Individual package flags
mobile-web:
target: 85%
threshold: 5%
backend-api:
target: 80%
threshold: 5%
shared-utils:
target: 90%
threshold: 5%
# Monorepo combined flag
monorepo:
target: 82%
threshold: 5%
# File-specific configurations
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no