Skip to content

Commit 1112914

Browse files
committed
fix: ensure colcon build continues on error and add package installation check in CI workflows
1 parent 886aad2 commit 1112914

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,5 @@ jobs:
5656
run: |
5757
cd ${GITHUB_WORKSPACE}
5858
source /opt/ros/humble/setup.bash
59-
# Build message/interface packages first so downstream C++ packages
60-
# (sentor_guard) can find them via CMAKE_PREFIX_PATH when they build.
61-
colcon build --symlink-install --continue-on-error
59+
colcon build --symlink-install --continue-on-error || true
6260
source install/setup.bash

.github/workflows/ros-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,10 @@ jobs:
7575
with:
7676
import-token: ${{ github.token }}
7777
target-ros2-distro: ${{ matrix.ros_distribution }}
78-
skip-tests: true
78+
skip-tests: true
79+
- name: check package is installed
80+
if: ${{ matrix.ros_version == 2 }}
81+
shell: bash
82+
run: |
83+
source install/setup.bash
84+
ros2 pkg executables livox_ros_driver2

0 commit comments

Comments
 (0)