forked from postmanlabs/newman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
39 lines (32 loc) · 903 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
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:
flags: unit
target: 75
# coverage status for integration tests
integration:
flags: integration
target: 50
# coverage status for cli tests
cli:
flags: cli
target: 80
# coverage status for library tests
library:
flags: library
target: 65
parsers:
javascript:
enable_partials: yes # use partial line coverage