update seerep_hdf5_ros example to include tf #1259
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
jobs: | |
Unit-Tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/agri-gaia/seerep_base:latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
path: src | |
- name: Build Packages | |
run: | | |
source /opt/ros/noetic/setup.bash | |
catkin build seerep_hdf5_fb seerep_hdf5_pb seerep_ros_conversions_fb --workspace $GITHUB_WORKSPACE/ | |
source $GITHUB_WORKSPACE/devel/setup.bash | |
shell: bash | |
- name: HDF5 Flatbuffer Unit Tests | |
run: catkin test seerep_hdf5_fb | |
shell: bash | |
- name: HDF5 Protobuf Unit Tests | |
run: catkin test seerep_hdf5_pb | |
shell: bash | |
- name: ROS Conversions Unit Tests | |
run: catkin test seerep_ros_conversions_fb | |
shell: bash | |
Integration-Tests: | |
name: Integration Tests | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/agri-gaia/seerep_base:latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
path: src | |
- name: Set up Python 3.8 | |
run: | | |
apt update | |
apt install -y python3.8 | |
ln -s `which python3.8` /usr/local/bin/python | |
shell: bash | |
- name: Build SEEREP | |
run: | | |
source /opt/ros/noetic/setup.bash | |
catkin build --workspace $GITHUB_WORKSPACE | |
shell: bash | |
- name: Execute Pytest | |
run: | | |
source $GITHUB_WORKSPACE/devel/setup.bash | |
PYTHONPATH=$GITHUB_WORKSPACE/devel/include/seerep_com/fbs:$PYTHONPATH pytest --force-sugar $GITHUB_WORKSPACE/src | |
shell: bash |