-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
23 lines (21 loc) · 807 Bytes
/
Copy pathcodecov.yml
File metadata and controls
23 lines (21 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
coverage:
status:
project:
# Overall coverage must not drop below the current baseline.
# `target: auto` means "don't regress from the last commit on the base branch".
# The 1% threshold gives a small float to absorb measurement noise.
default:
target: auto
threshold: 1%
informational: false # fails the PR check if breached
patch:
# Lines added or changed by the PR must be covered at ≥ 80%.
default:
target: 80%
threshold: 0%
informational: false # fails the PR check if breached
comment:
layout: "reach,diff,flags,files"
behavior: default # updates the existing comment on re-push
require_changes: true # only post when coverage actually changes
hide_project_coverage: false