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