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 8f87689 commit 337f710
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ros2-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ROS 2 CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up ROS 2
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

0 comments on commit 337f710

Please sign in to comment.