Skip to content

Merge branch 'main' of github.com:vortexntnu/ros2-unit-tests #3

Merge branch 'main' of github.com:vortexntnu/ros2-unit-tests

Merge branch 'main' of github.com:vortexntnu/ros2-unit-tests #3

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up ROS
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: ROS CI for my_package
uses: ros-tooling/[email protected]
with:
package-name: my_package
target-ros2-distro: humble
- name: ROS CI for cpp_pubsub
uses: ros-tooling/[email protected]
with:
package-name: cpp_pubsub
target-ros2-distro: humble
- name: Run tests for my_package
run: colcon test --ctest-args tests --packages-select my_package
- name: Run tests for cpp_pubsub
run: colcon test --ctest-args tests --packages-select cpp_pubsub