-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcodecov.yml
More file actions
35 lines (31 loc) · 1.03 KB
/
Copy pathcodecov.yml
File metadata and controls
35 lines (31 loc) · 1.03 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
33
34
35
# Docs: https://docs.codecov.com/docs/codecov-yaml
#
# The project uploads several reports per commit (one coverage.py XML per
# runner/Python-version leg plus the C++ gcovr Cobertura reports); Codecov
# merges them into a single report for the commit.
coverage:
precision: 2
round: down
range: "70...100"
status:
# Informational so a dip never blocks a PR while the coverage setup is still
# stabilising; flip to a real threshold once the baseline on `main` is trusted.
project:
default:
informational: true
patch:
default:
informational: true
# `require_base: false` lets the PR comment appear even before `main` has an
# uploaded baseline to diff against.
comment:
layout: "condensed_header, diff, flags, components, condensed_files"
behavior: default
require_base: false
require_head: true
# Wait for every expected upload before finalising, so the merged report is not
# computed from a partial set of the matrix legs.
codecov:
require_ci_to_pass: true
notify:
wait_for_ci: true