Skip to content

Commit

Permalink
feat(poetry-test.yml): add support for running tests on different ROS…
Browse files Browse the repository at this point in the history
… distributions and Ubuntu versions to increase compatibility and flexibility

chore(poetry-test.yml): remove unnecessary ROS 2 dependencies installation step to streamline the workflow and improve efficiency
  • Loading branch information
maciejmajek committed Sep 3, 2024
1 parent 4f6b810 commit 43f338c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/poetry-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ jobs:
build-and-test-ros2:
strategy:
matrix:
ros_distro: [jazzy]
runs-on: ubuntu-latest
include:
- ros_distro: jazzy
ubuntu_version: "24.04"
- ros_distro: humble
ubuntu_version: "22.04"
runs-on: ubuntu-${{ matrix.ubuntu_version }}

container:
image: osrf/ros:${{ matrix.ros_distro }}-desktop-full
Expand All @@ -24,12 +28,6 @@ jobs:
- name: Install python dependencies
run: poetry install --with gdino

- name: Install ROS 2 dependencies
shell: bash
run: |
apt-get update
apt-get install -y ros-${{ matrix.ros_distro }}-tf-transformations
- name: Update rosdep
shell: bash
run: |
Expand Down

0 comments on commit 43f338c

Please sign in to comment.