-
-
Notifications
You must be signed in to change notification settings - Fork 445
Expand file tree
/
Copy pathcodecov.yml
More file actions
72 lines (66 loc) · 1.67 KB
/
codecov.yml
File metadata and controls
72 lines (66 loc) · 1.67 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
# Codecov configuration for Meshtastic Android
# Ref: https://docs.codecov.com/docs/codecovyml-reference
codecov:
branch: main
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: auto # Coverage should not decrease from base branch
threshold: 1% # Allow 1% drop to reduce noise
patch:
default:
target: auto # New code should have coverage similar to project average
threshold: 1%
base: auto
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: false # Post a comment even if coverage doesn't change
flags:
host-unit:
paths:
- .
carryforward: true
android-instrumented:
paths:
- .
carryforward: true
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 1%
individual_components:
- component_id: core
name: Core
paths:
- core/**
- component_id: features
name: Features
paths:
- feature/**
- component_id: app
name: App
paths:
- app/**
- component_id: desktop
name: Desktop
paths:
- desktop/**
ignore:
- "**/build/**"
- "**/*.pb.kt" # Generated Protobuf code
- "**/*.aidl" # AIDL interface files
- "**/aidl/**" # Generated AIDL code
- "core/resources/**" # Centralized resources
- "**/test/**" # Unit tests
- "**/androidTest/**" # Instrumented tests
- "**/*Test.kt" # Test files
- "**/*Mock.kt" # Fakes/Mocks
- "**/*Fake.kt" # Fakes
- "**/testing/**" # Shared test utilities