Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(codecov): configure automatic (relaxed) coverage threshold, split analyses into vendors #278

Merged
merged 3 commits into from
Feb 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
coverage:
status:
project:
default:
target: auto
# allow slight decreases in coverage compared to the base ref
threshold: 1%

ignore:
- ^build.* # for generated message wrappers
- ^nebula_examples.* # not safety-related

comment:
layout: header, diff, flags, components

component_management:
default_rules:
statuses:
- type: project # inherit project rules for coverage statuses
individual_components:
- component_id: common
name: Common
paths:
- "!**hesai**"
- "!**velodyne**"
- "!**continental**"
- "!**robosense**"
- component_id: hesai
name: Hesai
paths:
- "**hesai**"
- component_id: velodyne
name: Velodyne
paths:
- "**velodyne**"
- component_id: continental
name: Continental
paths:
- "**continental**"
- component_id: robosense
name: Robosense
paths:
- "**robosense**"