-
Notifications
You must be signed in to change notification settings - Fork 398
Expand file tree
/
Copy path.codecov.yml
More file actions
53 lines (47 loc) · 1.21 KB
/
.codecov.yml
File metadata and controls
53 lines (47 loc) · 1.21 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
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license.
# Codecov configuration for DiskANN Rust code coverage
# See: https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
# Project coverage (overall) - informational only
project:
default:
target: auto
threshold: 1%
informational: true
# Patch coverage (changed lines only) - this will block PRs
patch:
default:
target: 90%
threshold: 0%
informational: false
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses:
- type: project
target: auto
threshold: 1%
- type: patch
target: 90%
individual_flags: # exceptions to the default rules above, stated flag by flag
- name: miri
carryforward: true
statuses:
- type: project
target: 0%
- type: patch
target: 0%
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
require_base: false
require_head: true
ignore:
- "test_data/**"
- "**/*_test.rs"
- "**/tests/**"
- "**/benches/**"
- "**/examples/**"