-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcodecov.yml
More file actions
32 lines (30 loc) · 1.01 KB
/
Copy pathcodecov.yml
File metadata and controls
32 lines (30 loc) · 1.01 KB
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
# Codecov configuration.
#
# Coverage (issue #20) sits at ~99%. The project target is fixed at 99% and
# every patch must be fully covered, so new code keeps the total there. The
# small remainder is unreachable defensive code and one-way/loop-back branch
# halves that are not worth contriving inputs for; they are left uncovered
# rather than hidden behind coverage pragmas.
coverage:
status:
project:
default:
target: 99%
threshold: 0.5%
patch:
default:
target: 100%
# Coverage is uploaded from several jobs, each with its own flag: unit (the
# pytest suite), shapes and cells (real generator runs on the example projects).
# Codecov merges them per commit. carryforward keeps a flag's last coverage when
# its job does not run on a given commit, so the combined total stays stable.
flag_management:
default_rules:
carryforward: true
individual_flags:
- name: unit
- name: shapes
- name: cells
comment:
layout: "reach, diff, flags, files"
require_changes: true