-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
codecov.yml
43 lines (36 loc) · 959 Bytes
/
codecov.yml
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
coverage:
range: 70..100 # green if 100+, red if 70-
status:
patch:
# coverage status for pull request diff
default:
target: 100 # any patch should be 100% covered
threshold: 1% # allow a little drop
project:
# coverage status for whole project
default:
target: auto # use coverage of base commit as target
threshold: 1% # allow a little drop
# coverage status for unit tests
unit:
target: 75
flags:
- unit
# coverage status for integration tests
integration:
target: 50
flags:
- integration
# coverage status for cli tests
cli:
target: 80
flags:
- cli
# coverage status for library tests
library:
target: 65
flags:
- library
parsers:
javascript:
enable_partials: yes # use partial line coverage