Skip to content

Updated IHM module

Updated IHM module #16

name: ROS1 Test Workflow
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
WORKSPACE: "rob_ws"
ROS_DISTRO: "noetic"
WHITELIST: "multi_obstacles_tracker_msgs tiago_rviz"
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: cario360/ros-tiago
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup ROS Environment
run: |
echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc
source ~/.bashrc
shell: bash
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-catkin-tools python3-osrf-pycommon
shell: bash
- name: Build
run: |
cd $WORKSPACE
source /opt/ros/$ROS_DISTRO/setup.bash
catkin build $WHITELIST --no-deps --verbose
shell: bash
- name: Launch ROS core
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
roscore &
shell: bash
- name: Run Tests
run: |
source /opt/ros/$ROS_DISTRO/setup.bash
cd $WORKSPACE
catkin test $WHITELIST --no-deps --verbose
catkin_test_results build
shell: bash