Files
rtabmap_ros/codecov.yml
T
matlabbeandmathieu86 11edc01d6a rtabmap_odom tests and doc (#1456)
* rtabmap_odom tests and doc

* opengv note

* added ci checks or humble-latest flaky dep cmake errors

* Added real data tests for rgbd_odom and stereo_odom

* added real data for icp_odometry's deskewing test

* fixing json cmake error on lyrical/rolling

* test 2d icp odom deskewing branch

* first review of existing OdometryROS tests

* testing with imu used as guess

* tested imu arrivals sync

* Fixed odom reset on right pose when guess frame id is used

* fixing header errors in ci >=lyrical

* Added support for input rgbd_image topic with features for odom, added multicam rgbd_odometry test

* Added stereo odom support for features-only frames. Added multicam stereo tests.

* forcing latest rtabmap version

* updated OdometryROS API

* ci: dont build non-latest docker in pull requests

* splitting docker jobs

* doc edit

* Making publish_null_when_lost:=false continous when guess is provided (using guess covariance when we cannot register yet)

* updated stereo doc

* ficing rolling ci (rviz Ogre header)

* Added test coverage of alll rgbd_image callbacks

* fixing rolling ci

* making docker ci build/run the tests on pull requests

* fixing ros2 ci testing

* improved sync callback coverage

* improving stereo_odometry test coverage

* improved icp_odometry test coverage

* lyrical voxel_grid ptr error

* make multicam tests working as well without opengv

* removing deps of missing packages on rolling

* PCL empty cloud  conversion compiler errors fix

* fixing icp_odometry test failure on ci witohut libpointmatcher

* fixing nav2 costmap plugin build on lyrical

* joining thread when exiting

* updating icp test to work the same on pcl 1.15 (lyrical)

* Fix parallel tests seg fault

---------

Co-authored-by: mathieu86 <[email protected]>
2026-09-21 17:02:45 -07:00

89 lines
2.8 KiB
YAML

# Codecov configuration -- https://docs.codecov.com/docs/codecov-yaml
#
# Coverage data is produced by .github/workflows/coverage.yml (colcon's
# coverage-gcc mixin over the packages that have tests, aggregated by
# colcon-lcov-result) and uploaded by codecov/codecov-action; this file only
# controls what Codecov reports back on a pull request. Nothing is posted
# unless the Codecov GitHub App has access to the repository.
# action-ros-ci checks the repository out into a colcon workspace, so every
# path in the lcov report is prefixed. Strip it, otherwise Codecov cannot match
# a file to the one in the diff and reports no coverage at all.
fixes:
- "ros_ws/src/rtabmap_ros/::"
# Mark uncovered added lines inline in the "Files changed" tab.
github_checks:
annotations: true
coverage:
precision: 2
round: down
range: "10...90" # red/green scale: 10% is fully red, 90% fully green
status:
# Catch a slow slide down without pinning an absolute number.
project:
default:
target: auto
threshold: 1%
# Coverage of the lines this pull request touches. Advisory: reported, but
# does not block the merge -- drop "informational" to make it gate.
patch:
default:
informational: true
# Per-package breakdown, computed from the same single upload -- no extra job
# and no separate flag upload per package. Each component gets its own line in
# the pull request comment and its own status check.
component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 1%
individual_components:
- component_id: rtabmap_conversions
name: rtabmap_conversions
paths:
- rtabmap_conversions/**
- component_id: rtabmap_util
name: rtabmap_util
paths:
- rtabmap_util/**
- component_id: rtabmap_sync
name: rtabmap_sync
paths:
- rtabmap_sync/**
- component_id: rtabmap_odom
name: rtabmap_odom
paths:
- rtabmap_odom/**
- component_id: rtabmap_python
name: rtabmap_python
paths:
- rtabmap_python/**
comment:
layout: "condensed_header, diff, components, files"
behavior: default
require_changes: true # stay quiet when coverage doesn't move
# Only rtabmap_conversions, rtabmap_util, rtabmap_sync, rtabmap_odom and rtabmap_python
# have tests today, so
# everything else would report as 0% and drag the total down to a number that
# says nothing. As a package gains tests, drop its line here and add it to
# individual_components above.
ignore:
- "rtabmap_costmap_plugins/**"
- "rtabmap_demos/**"
- "rtabmap_examples/**"
- "rtabmap_launch/**"
- "rtabmap_msgs/**"
- "rtabmap_rviz_plugins/**"
- "rtabmap_slam/**"
- "rtabmap_viz/**"
- "**/test/**"
- "**/setup.py" # packaging scaffolding, not code under test