diff --git a/.github/workflows/rolling.yaml b/.github/workflows/rolling.yaml index 8d5ec03..72473cd 100644 --- a/.github/workflows/rolling.yaml +++ b/.github/workflows/rolling.yaml @@ -7,19 +7,20 @@ on: push: branches: - rolling + schedule: + - cron: '0 0 * * 6' + workflow_dispatch: jobs: build-and-test: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 container: - image: ubuntu:noble + image: ghcr.io/ros-tooling/setup-ros-docker/setup-ros-docker-ubuntu-resolute-ros-rolling-ros-base:master steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: rolling - - name: Setup ROS 2 - uses: ros-tooling/setup-ros@0.7.15 - name: build and test - uses: ros-tooling/action-ros-ci@0.4.5 + uses: ros-tooling/action-ros-ci@0.4.8 with: package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin target-ros2-distro: rolling diff --git a/.github/workflows/rolling_cron.yaml b/.github/workflows/rolling_cron.yaml deleted file mode 100644 index 4134591..0000000 --- a/.github/workflows/rolling_cron.yaml +++ /dev/null @@ -1,38 +0,0 @@ -name: rolling - -on: - schedule: - - cron: '0 0 * * 6' -jobs: - build-and-test: - runs-on: ubuntu-24.04 - container: - image: ubuntu:noble - steps: - - uses: actions/checkout@v4 - with: - ref: rolling - - name: Setup ROS 2 - uses: ros-tooling/setup-ros@0.7.15 - - name: build and test - uses: ros-tooling/action-ros-ci@0.4.5 - with: - package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin - target-ros2-distro: rolling - ref: rolling - colcon-defaults: | - { - "test": { - "parallel-workers" : 1 - } - } - colcon-mixin-name: coverage-gcc - colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml - - name: Codecov - uses: codecov/codecov-action@v5.4.0 - with: - files: ros_ws/lcov/total_coverage.info - flags: unittests - name: codecov-umbrella - # yml: ./codecov.yml - fail_ci_if_error: false diff --git a/navmap_ros/tests/test_navmap_io.cpp b/navmap_ros/tests/test_navmap_io.cpp index 8168125..f0b7ace 100644 --- a/navmap_ros/tests/test_navmap_io.cpp +++ b/navmap_ros/tests/test_navmap_io.cpp @@ -61,7 +61,7 @@ void fill_basic_header(navmap_ros_interfaces::msg::NavMap & msg, const std::stri // --- helpers: semantic comparison for messages --- template -static void ExpectVecEq(const std::vector & a, const std::vector & b, const char * what) +static void ExpectVecEq(const T & a, const T & b, const char * what) { ASSERT_EQ(a.size(), b.size()) << what << " size mismatch"; for (size_t i = 0; i < a.size(); ++i) {