Skip to content

Commit

Permalink
Use new dev docker to test
Browse files Browse the repository at this point in the history
  • Loading branch information
msz-rai committed Jun 7, 2024
1 parent ceeeabf commit cb41840
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
with:
test-command: '
cd bin-core/bin/test && ./RobotecGPULidar_test'
docker-image: localhost:5000/rgl:latest
docker-image: localhost:5000/robotecgpulidar-all:latest

test-pcl-dev:
needs: [ build-pcl ]
Expand All @@ -111,7 +111,7 @@ jobs:
test-command: '
export RGL_TAPED_TEST_DATA_DIR=$(pwd)/external/rgl_blobs &&
cd bin-pcl/bin/test && ./RobotecGPULidar_test && ./RobotecGPULidar_taped_test'
docker-image: localhost:5000/rgl:latest
docker-image: localhost:5000/robotecgpulidar-all:latest

test-ros2-dev:
needs: [ build-ros2 ]
Expand All @@ -121,27 +121,27 @@ jobs:
# Run tests twice, each for different RMW implementation
test-command: '
. /opt/ros/humble/setup.sh &&
. /rgldep/radar_msgs/install/setup.sh &&
. /opt/rgl/external/radar_msgs/install/setup.sh &&
cd bin-ros2/bin/test &&
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp && ./RobotecGPULidar_test &&
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp && ./RobotecGPULidar_test'
docker-image: localhost:5000/rgl:latest
docker-image: localhost:5000/robotecgpulidar-all:latest

test-udp-dev:
needs: [ build-udp ]
uses: ./.github/workflows/test-subworkflow.yml
with:
test-command: '
cd bin-udp/bin/test && ./RobotecGPULidar_test'
docker-image: localhost:5000/rgl:latest
docker-image: localhost:5000/robotecgpulidar-all:latest

test-snow-dev:
needs: [ build-snow ]
uses: ./.github/workflows/test-subworkflow.yml
with:
test-command: '
cd bin-snow/bin/test && ./RobotecGPULidar_test'
docker-image: localhost:5000/rgl:latest
docker-image: localhost:5000/robotecgpulidar-all:latest

test-all-dev:
needs: [ build-all ]
Expand All @@ -152,13 +152,13 @@ jobs:
# Run tests twice, each for different RMW implementation
test-command: '
. /opt/ros/humble/setup.sh &&
. /rgldep/radar_msgs/install/setup.sh &&
. /opt/rgl/external/radar_msgs/install/setup.sh &&
export RGL_TEST_VLP16_CALIB_FILE=$(pwd)/extensions/udp/test/resources/Ros2Vlp16Calib.yaml &&
export RGL_TAPED_TEST_DATA_DIR=$(pwd)/external/rgl_blobs &&
cd bin-all/bin/test &&
export RMW_IMPLEMENTATION=rmw_fastrtps_cpp && ./RobotecGPULidar_test && ./RobotecGPULidar_taped_test &&
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp && ./RobotecGPULidar_test && ./RobotecGPULidar_taped_test'
docker-image: localhost:5000/rgl:latest
docker-image: localhost:5000/robotecgpulidar-all:latest

####### TEST WITH CLEAN UBUNTU DOCKER IMAGE ######
test-core-prod:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-subworkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
options:
--rm
--gpus all
--workdir /opt/rgl-test # to not overwrite dependencies installed in docker image
steps:
- name: test
run: ${{ inputs.test-command }}

0 comments on commit cb41840

Please sign in to comment.