Skip to content

Commit

Permalink
Add ros2 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 17, 2025
1 parent 1cf4248 commit 3a3b752
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/ros2-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up ROS 2
uses: ros-tooling/[email protected]
- uses: ros-tooling/[email protected]
with:
version: humble

- name: Install dependencies
run: |
sudo apt-get update
rosdep update
rosdep install --from-paths src --ignore-src -r -y
- name: Build the workspace
run: |
colcon build
- name: Run tests
run: |
colcon test
colcon test-result --verbose
required-ros-distributions: humble
- uses: ros-tooling/[email protected]
with:
package-name: nanosaur_gazebo
target-ros2-distro: humble

0 comments on commit 3a3b752

Please sign in to comment.