forked from TEAMMATES/teammates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codecov.yml
37 lines (29 loc) · 817 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
# Reference: https://docs.codecov.io/docs
# Only build on master branch
codecov:
branch: master
# Do not allow the bot to comment on pull requests
comment: off
coverage:
# Set up color range for badge (for aesthetic purpose)
range: 60..80
round: up
precision: 2
# Set up additional statuses for PRs
status:
project:
default: off
# production-only code coverage
production_only:
threshold: 0.5% # allow small drop in coverage
paths:
- "src/main/"
# production + test code coverage
all_codes:
threshold: 0.5% # allow small drop in coverage
paths:
- "src/"
patch:
default:
# enforce manually; sometimes used codes are not "covered" e.g. back-end codes used in front-end
threshold: 100%