-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathcodecov.yml
More file actions
55 lines (52 loc) · 1.59 KB
/
Copy pathcodecov.yml
File metadata and controls
55 lines (52 loc) · 1.59 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
coverage:
status:
project:
default:
target: 83%
threshold: 1%
flags:
- unit
integration:
target: 65%
threshold: 1%
flags:
- integration
patch:
default:
target: 80%
threshold: 1%
flags:
- unit
integration:
target: 80%
threshold: 1%
flags:
- integration
comment:
layout: "reach, diff, flags, files"
require_changes: false
flags:
unit:
paths:
- src/
integration:
paths:
- src/
# Mirrors the `COVERAGE_IGNORE_REGEX` exclusion in
# `.github/workflows/integration_test.yml`: `submit_and_wait.rs` and
# the transaction-helper exception types it returns are scoped as
# unit-territory (their branches and `Display` strings are exercised
# by mock-client unit tests, not by the live-rippled integration
# tests) so they are not part of the integration flag's coverage
# surface.
- "!src/asynch/transaction/submit_and_wait.rs"
- "!src/asynch/transaction/exceptions.rs"
# The confidential-mpt assembly layer (`src/confidential.rs`) and the mpt-crypto
# FFI crates (`internal/`) are feature-gated behind `confidential-mpt` / are
# separate crates, so they are NOT compiled in the unit coverage run (which uses
# `std,core,utils,wallet,models`). They are built and unit-tested on every
# platform in the dedicated `confidential_mpt` CI job instead — so exclude them
# here rather than counting their lines as uncovered in patch coverage.
ignore:
- "src/confidential.rs"
- "internal/"