-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
85 lines (79 loc) · 1.83 KB
/
codecov.yml
File metadata and controls
85 lines (79 loc) · 1.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
# Codecov configuration
# https://docs.codecov.com/docs/codecov-yaml
coverage:
# Overall project coverage thresholds
status:
project:
default:
# Require 85% overall coverage (we're at ~90%)
target: 85%
# Allow 2% drop from base
threshold: 2%
# Only check main crate sources
paths:
- "src/"
patch:
default:
# New code should have at least 75% coverage
target: 75%
# Allow 5% below target for patches
threshold: 5%
# Precision of coverage percentages
precision: 2
round: down
range: "70...100"
# Ignore test files and examples from coverage
ignore:
- "tests/**/*"
- "examples/**/*"
- "benches/**/*"
- "crates/**/*"
# Comment configuration for PRs
comment:
layout: "header, diff, flags, components"
behavior: default
require_changes: true
require_base: false
require_head: true
# Flag management
flags:
unittests:
paths:
- "src/"
carryforward: true
# Component breakdown
component_management:
default_rules:
statuses:
- type: project
target: 75%
individual_components:
- component_id: encoder
name: Encoder Pipeline
paths:
- "src/encode.rs"
- "src/encode/**"
- "src/marker.rs"
- component_id: dct
name: DCT & Color
paths:
- "src/dct.rs"
- "src/color.rs"
- "src/simd/**"
- component_id: entropy
name: Entropy Coding
paths:
- "src/entropy.rs"
- "src/huffman.rs"
- "src/bitstream.rs"
- component_id: trellis
name: Trellis Quantization
paths:
- "src/trellis.rs"
- "src/quant.rs"
- component_id: progressive
name: Progressive Mode
paths:
- "src/progressive.rs"
- "src/scan_optimize.rs"
- "src/scan_trial.rs"