Skip to content

Commit

Permalink
Run ROS tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fcladera committed Mar 12, 2024
1 parent 2123511 commit 0fa3dd9
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build-and-test

on:
push:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Install dependencies
run: |
apt-get update
apt-get install -qy g++ libeigen3-dev
apt-get install -qy g++ libeigen3-dev python3-catkin-tools
rosdep update
rosdep install --from-paths . --ignore-src -y -r --as-root apt:false
Expand All @@ -37,4 +37,9 @@ jobs:
. /opt/ros/${{ matrix.ros_distro }}/setup.sh
cd ${RUNNER_WORKSPACE}/catkin_ws
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,--no-undefined,-z,relro,-z,now -pthread"
catkin_make -DCMAKE_BUILD_TYPE=NONE
catkin build
- name: Run tests
run: |
. ${RUNNER_WORKSPACE}/catkin_ws/devel/setup.sh
catkin test

0 comments on commit 0fa3dd9

Please sign in to comment.