Skip to content

Commit

Permalink
Update ros2_ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamGawande191 authored Dec 20, 2023
1 parent 7150494 commit 69b175d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ros2_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ROS2 CI

on:
push:
branches: [ main ]
branches: [ main, unittest ]
pull_request:
branches: [ main ]

Expand Down Expand Up @@ -44,15 +44,18 @@ jobs:
- name: Install package dependencies
run: |
rosdep install --from-paths src --ignore-src --rosdistro humble -y
cd robile_safety
rosdep install --from-paths . --ignore-src --rosdistro humble -y
- name: Build the package
run: |
cd robile_safety
source /opt/ros/humble/setup.bash
colcon build --symlink-install
- name: Run tests
run: |
cd robile_safety
source /opt/ros/humble/setup.bash
colcon test
colcon test-result --verbose

0 comments on commit 69b175d

Please sign in to comment.