Skip to content

Commit 53b20ef

Browse files
committed
ci failing
1 parent 5564965 commit 53b20ef

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/actions/build-and-test/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Build and Test
22
description: Common build and test logic for Deep ROS
33

4+
inputs:
5+
ros-distro:
6+
description: 'ROS distribution to use'
7+
required: true
8+
default: 'humble'
9+
410
runs:
511
using: "composite"
612
steps:
@@ -14,11 +20,14 @@ runs:
1420
1521
- name: 🧱 Build workspace
1622
shell: bash
17-
run: colcon build --merge-install
23+
run: |
24+
source /opt/ros/${{ inputs.ros-distro }}/setup.bash
25+
colcon build --merge-install
1826
1927
- name: ✅ Run tests
2028
shell: bash
2129
run: |
30+
source /opt/ros/${{ inputs.ros-distro }}/setup.bash
2231
colcon test --merge-install --event-handlers console_cohesion+
2332
colcon test-result --verbose
2433

.github/workflows/on_push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ jobs:
1919
with:
2020
required-ros-distributions: ${{ env.ROS_DISTRO }}
2121
- uses: ./.github/actions/build-and-test
22+
with:
23+
ros-distro: ${{ env.ROS_DISTRO }}

0 commit comments

Comments
 (0)