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
# Codecov configuration for OneMoney Rust SDK
# This file configures how Codecov analyzes and reports code coverage
# Coverage targets
coverage:
status:
project:
default:
target: 80%
threshold: 5%
if_no_uploads: error
if_not_found: success
if_ci_failed: error
patch:
default:
target: 75%
threshold: 10%
if_no_uploads: error
if_not_found: success
if_ci_failed: error
# Coverage precision
precision: 2
# Files to ignore from coverage analysis
ignore:
- "examples/"
- "tests/"
- "benches/"
- "target/"
- "*.md"
- "src/main.rs" # Binary entry point if exists
# Comment configuration for pull requests
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
# GitHub status checks
github_checks:
annotations: true
# Flags for different types of tests
flags:
unit:
paths:
- src/
# Component-specific coverage tracking
component_management:
individual_components:
- component_id: crypto
name: Crypto Module
paths:
- src/crypto/
- component_id: client
name: Client Module
paths:
- src/client/
- component_id: api
name: API Module
paths:
- src/api/
- component_id: utils
name: Utils Module
paths:
- src/utils/
- component_id: transport
name: Transport Module
paths:
- src/transport/