Files
Meshtastic-Android/codecov.yml
2026-03-26 13:16:04 +00:00

77 lines
1.8 KiB
YAML

# 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/**
- component_id: example
name: Example
paths:
- mesh_service_example/**
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