Skip to content

Commit

Permalink
ci(codecov): configure automatic (relaxed) coverage threshold, split …
Browse files Browse the repository at this point in the history
…analyses into vendors (#278)

* ci(codecov): move existing config to repo

Signed-off-by: Max SCHMELLER <[email protected]>

* ci(codecov): relax coverage rules

Signed-off-by: Max SCHMELLER <[email protected]>

* ci(codecov): show coverage of different vendoes separately

Signed-off-by: Max SCHMELLER <[email protected]>

---------

Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex authored Feb 20, 2025
1 parent 8d6aec1 commit e57588c
Showing 1 changed file with 43 additions and 0 deletions.
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**"

0 comments on commit e57588c

Please sign in to comment.