Skip to content

feat(rai_cli): improved UX #505

feat(rai_cli): improved UX

feat(rai_cli): improved UX #505

Workflow file for this run

name: build and test
on:
pull_request:
branches:
- development
jobs:
build-and-test-ros2:
strategy:
matrix:
ros_distro: [jazzy]
runs-on: ubuntu-latest
container:
image: osrf/ros:${{ matrix.ros_distro }}-desktop-full
steps:
- uses: actions/checkout@v4
- name: Install Poetry
uses: snok/install-poetry@v1
- 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: |
rosdep update
- name: Install ROS 2 package dependencies
shell: bash
run: |
rosdep install --from-paths src --ignore-src -r -y
- name: Build the workspace
shell: bash
run: |
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
colcon build
- name: Run tests
shell: bash
run: |
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
source install/setup.bash
poetry run pytest