Skip to content

Commit 8567965

Browse files
committed
[#1742] Run end-to-end tests for ros2 in CI
1 parent b20e33e commit 8567965

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/reuse_ros2.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
# e.g. rmw_cyclonedds_cpp -> ros-<distro>-rmw-cyclonedds-cpp.
4242
RMW_PKG="ros-${{ inputs.ros-distro }}-$(echo '${{ inputs.rmw }}' | tr '_' '-')"
4343
apt-get update
44-
apt-get install -y build-essential ca-certificates curl pkg-config libclang-dev "$RMW_PKG"
44+
apt-get install -y build-essential ca-certificates curl pkg-config libclang-dev expect "$RMW_PKG"
4545
4646
- name: Install just
4747
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b # version: v3.1.0
@@ -91,3 +91,10 @@ jobs:
9191
run: |
9292
source /opt/ros/${{ inputs.ros-distro }}/setup.bash
9393
just verify integrations-ros2 clippy ${{ steps.set-build-flags.outputs.cargo-build-mode }}
94+
95+
- name: Run end-to-end tests on ros2 workspace
96+
shell: bash
97+
run: |
98+
source /opt/ros/${{ inputs.ros-distro }}/setup.bash
99+
echo "Using RMW: $RMW_IMPLEMENTATION"
100+
just test-e2e integrations-ros2

0 commit comments

Comments
 (0)