-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.codecov.yml
More file actions
93 lines (88 loc) · 2.83 KB
/
Copy path.codecov.yml
File metadata and controls
93 lines (88 loc) · 2.83 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
codecov:
require_ci_to_pass: true
# The test suite runs in 3 disjoint nextest shards, each uploading its
# own coverage report under a distinct `shard-N` flag (see
# .github/workflows/grovedb.yml). Wait for all 3 before computing the
# commit status so the union is complete.
notify:
after_n_builds: 3
# Per-shard flags. carryforward lets a shard's last-known coverage carry
# over if it doesn't upload in a given run, and — critically — makes
# codecov compute the commit total/patch coverage as the UNION across
# the three shard flags rather than from a single (partial) upload.
flag_management:
default_rules:
carryforward: true
ignore:
- "**/test_utils.rs"
- "**/test_utils/**"
- "**/tests.rs"
- "**/tests/**"
- "fuzz/**"
- "**/debugger.rs"
- "**/visualize.rs"
- "**/debug.rs"
- "tutorials/**"
coverage:
status:
project:
default:
target: auto
threshold: 2%
patch:
# Repo-wide bar. Restored to 90% so one feature branch's difficulty
# does not permanently relax the standard every unrelated PR is held
# to — the indexed-tree work below carries its own scoped exception
# instead of ratcheting this number down.
default:
target: 90%
paths:
- "!grovedb/src/operations/indexed_tree.rs"
- "!grovedb/src/operations/proof/indexed_axis.rs"
- "!grovedb/src/batch/indexed_tree.rs"
# Scoped exception for the indexed-tree family. These files are
# dominated by cryptographically-defensive branches (`CorruptedData`
# / `InvalidProof` arms that need contrived storage corruption to
# reach), and they are additionally hit by the known under-reporting
# of single-shard-covered lines in codecov's merge of the 3 nextest
# coverage shards (see flag_management / after_n_builds above).
indexed-tree:
target: 82%
paths:
- "grovedb/src/operations/indexed_tree.rs"
- "grovedb/src/operations/proof/indexed_axis.rs"
- "grovedb/src/batch/indexed_tree.rs"
comment:
layout: "condensed_header, diff, components, condensed_files"
behavior: default
require_changes: true
component_management:
individual_components:
- component_id: grovedb-core
name: grovedb-core
paths:
- grovedb/
- component_id: merk
name: merk
paths:
- merk/
- component_id: storage
name: storage
paths:
- storage/
- component_id: commitment-tree
name: commitment-tree
paths:
- grovedb-commitment-tree/
- component_id: mmr
name: mmr
paths:
- grovedb-merkle-mountain-range/
- component_id: bulk-append-tree
name: bulk-append-tree
paths:
- grovedb-bulk-append-tree/
- component_id: element
name: element
paths:
- grovedb-element/