forked from ApexChainx/ApexChainx-Contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
29 lines (25 loc) · 861 Bytes
/
Copy pathcodecov.yml
File metadata and controls
29 lines (25 loc) · 861 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
# codecov.yml
# Issue #78: Coverage gate configuration for ApexChainx-Contracts.
# Codecov will post a status check on every PR and fail it if coverage
# drops by more than 1 percentage point on either the whole project or
# the lines touched by the PR patch.
coverage:
precision: 2
round: down
range: "70...100"
status:
# Gate on the overall project line coverage.
project:
default:
target: auto # compare against the base commit
threshold: 1% # allow up to 1% drop before failing
base: auto
# Gate on the lines changed in the PR itself.
patch:
default:
target: 80% # new/changed lines must be ≥80% covered
threshold: 1%
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: true # only comment when coverage changes