-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
33 lines (30 loc) · 927 Bytes
/
codecov.yml
File metadata and controls
33 lines (30 loc) · 927 Bytes
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
coverage:
status:
project:
default:
target: 80% # the required coverage value
threshold: 1% # the leniency in hitting the target
if_not_found: error
base: auto
patch:
default:
target: 80% # the required coverage value
threshold: 1% # the leniency in hitting the target
# Enforce patch-level coverage on PRs
if_not_found: error
precision: 2
round: down
range: 60..100
comment:
layout: "reach, diff, flags, files"
require_changes: false # if true: only post the comment if coverage changes
behavior: default
require_base: false # [true :: must have a base report to post]
require_head: true # [true :: must have a head report to post]
hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage]]
ignore:
- "src/test/**"
flags:
unit:
paths:
- "src/**"