forked from postmanlabs/postman-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodecov.yml
34 lines (28 loc) · 824 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
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: 40
# coverage status for integration tests
integration:
flags: integration
target: 70
# coverage status for integration-legacy tests
legacy:
flags: legacy
target: 45
parsers:
javascript:
enable_partials: yes # use partial line coverage