-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
40 lines (35 loc) · 1.22 KB
/
Copy pathcodecov.yml
File metadata and controls
40 lines (35 loc) · 1.22 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
36
37
38
39
40
# Codecov configuration.
#
# Scopes coverage reporting to the published crates. Internal benchmark
# and deterministic-simulation harnesses live in the workspace because
# that's where they exercise their target crates, but they are not
# part of the public API surface and their own coverage is not a
# useful quality signal.
#
# Reference: https://docs.codecov.com/docs/codecovyml-reference
coverage:
status:
project:
default:
target: auto # accept whatever the default branch has
threshold: 2% # tolerate a 2% drop without flagging red
informational: true # don't block merges on coverage drops yet
patch:
default:
target: auto
threshold: 2%
informational: true
range: "60...90"
ignore:
# Internal-only crates: live in this workspace because they
# exercise their target crates, but not part of the public surface.
- "crates/wombatkv-dst/**"
- "crates/wombatkv-bench/**"
# Generated mdbook output + docs / book sources are not tested code.
- "book/book/**"
- "book/**"
# Quieter PR comments: only post if coverage actually moved.
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: true