From a9532a61cfe24c6be965e3df954c93e47dc3c706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mart=C3=ADn=20Rico?= Date: Sat, 15 Nov 2025 08:24:02 +0100 Subject: [PATCH] Separate periodic CI from PR/push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Francisco Martín Rico --- .github/workflows/humble.yaml | 3 --- .github/workflows/humble_cron.yaml | 42 +++++++++++++++++++++++++++++ .github/workflows/jazzy.yaml | 3 --- .github/workflows/jazzy_cron.yaml | 42 +++++++++++++++++++++++++++++ .github/workflows/kilted.yaml | 3 --- .github/workflows/kilted_cron.yaml | 42 +++++++++++++++++++++++++++++ .github/workflows/rolling.yaml | 3 --- .github/workflows/rolling_cron.yaml | 42 +++++++++++++++++++++++++++++ 8 files changed, 168 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/humble_cron.yaml create mode 100644 .github/workflows/jazzy_cron.yaml create mode 100644 .github/workflows/kilted_cron.yaml create mode 100644 .github/workflows/rolling_cron.yaml diff --git a/.github/workflows/humble.yaml b/.github/workflows/humble.yaml index 129427d..35fd8f8 100644 --- a/.github/workflows/humble.yaml +++ b/.github/workflows/humble.yaml @@ -7,8 +7,6 @@ on: push: branches: - humble - schedule: - - cron: '0 0 * * 6' jobs: build-and-test: runs-on: ${{ matrix.os }} @@ -29,7 +27,6 @@ jobs: with: package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin target-ros2-distro: humble - ref: humble colcon-defaults: | { "test": { diff --git a/.github/workflows/humble_cron.yaml b/.github/workflows/humble_cron.yaml new file mode 100644 index 0000000..e08d607 --- /dev/null +++ b/.github/workflows/humble_cron.yaml @@ -0,0 +1,42 @@ +name: humble + +on: + schedule: + - cron: '0 0 * * 6' +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-22.04] + fail-fast: false + steps: + - uses: actions/checkout@v4 + with: + ref: humble + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.15 + with: + required-ros-distributions: humble + - 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: humble + ref: humble + 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/.github/workflows/jazzy.yaml b/.github/workflows/jazzy.yaml index 31ba809..5aa2840 100644 --- a/.github/workflows/jazzy.yaml +++ b/.github/workflows/jazzy.yaml @@ -7,8 +7,6 @@ on: push: branches: - jazzy - schedule: - - cron: '0 0 * * 6' jobs: build-and-test: runs-on: ${{ matrix.os }} @@ -29,7 +27,6 @@ jobs: with: package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin target-ros2-distro: jazzy - ref: jazzy colcon-defaults: | { "test": { diff --git a/.github/workflows/jazzy_cron.yaml b/.github/workflows/jazzy_cron.yaml new file mode 100644 index 0000000..ca6bfca --- /dev/null +++ b/.github/workflows/jazzy_cron.yaml @@ -0,0 +1,42 @@ +name: jazzy + +on: + schedule: + - cron: '0 0 * * 6' +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-24.04] + fail-fast: false + steps: + - uses: actions/checkout@v4 + with: + ref: jazzy + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.15 + with: + required-ros-distributions: jazzy + - 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: jazzy + ref: jazzy + 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/.github/workflows/kilted.yaml b/.github/workflows/kilted.yaml index 1774f6e..cdd9384 100644 --- a/.github/workflows/kilted.yaml +++ b/.github/workflows/kilted.yaml @@ -7,8 +7,6 @@ on: push: branches: - kilted - schedule: - - cron: '0 0 * * 6' jobs: build-and-test: runs-on: ${{ matrix.os }} @@ -29,7 +27,6 @@ jobs: with: package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin target-ros2-distro: kilted - ref: kilted colcon-defaults: | { "test": { diff --git a/.github/workflows/kilted_cron.yaml b/.github/workflows/kilted_cron.yaml new file mode 100644 index 0000000..3d1ba39 --- /dev/null +++ b/.github/workflows/kilted_cron.yaml @@ -0,0 +1,42 @@ +name: kilted + +on: + schedule: + - cron: '0 0 * * 6' +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-24.04] + fail-fast: false + steps: + - uses: actions/checkout@v4 + with: + ref: kilted + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.15 + with: + required-ros-distributions: kilted + - 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: kilted + ref: kilted + 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/.github/workflows/rolling.yaml b/.github/workflows/rolling.yaml index a579a72..e50131c 100644 --- a/.github/workflows/rolling.yaml +++ b/.github/workflows/rolling.yaml @@ -7,8 +7,6 @@ on: push: branches: - rolling - schedule: - - cron: '0 0 * * 6' jobs: build-and-test: runs-on: ${{ matrix.os }} @@ -29,7 +27,6 @@ jobs: with: package-name: navmap_core navmap_ros navmap_ros_interfaces navmap_rviz_plugin target-ros2-distro: rolling - ref: rolling colcon-defaults: | { "test": { diff --git a/.github/workflows/rolling_cron.yaml b/.github/workflows/rolling_cron.yaml new file mode 100644 index 0000000..039d9f9 --- /dev/null +++ b/.github/workflows/rolling_cron.yaml @@ -0,0 +1,42 @@ +name: rolling + +on: + schedule: + - cron: '0 0 * * 6' +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-24.04] + fail-fast: false + steps: + - uses: actions/checkout@v4 + with: + ref: rolling + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.15 + with: + required-ros-distributions: rolling + - 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