Skip to content

Commit

Permalink
Added test workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <[email protected]>
  • Loading branch information
delihus committed Nov 12, 2024
1 parent 5c2c325 commit ca1b2b3
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/run-unit-tests-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ jobs:
ref: ${{ github.ref }}
path: ros2_ws/src/husarion_ugv

- name: Resolve dependencies
working-directory: ros2_ws
run: |
vcs import < src/husarion_ugv/husarion_ugv/simulation_deps.repos src
cp -r ./ros2_controllers/diff_drive_controller src
cp -r ./ros2_controllers/imu_sensor_broadcaster src
rm -rf ./ros2_controllers
sudo apt update
rosdep update --rosdistro $ROS_DISTRO
rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y
- name: Setup ROS
uses: ros-tooling/[email protected]
with:
Expand All @@ -34,4 +23,18 @@ jobs:
- name: Build and test
uses: ros-tooling/[email protected]
with:
vcs-repo-file-url: ros2_ws/src/husarion_ugv/src/husarion_ugv/husarion_ugv/simulation_deps.repos
target-ros2-distro: humble
colcon-defaults: |
{
"build": {
"packages-up-up": [
"husarion_ugv"
]
},
"test": {
"packages-up-up": [
"husarion_ugv"
]
}
}

0 comments on commit ca1b2b3

Please sign in to comment.