2626 shell : bash
2727 run : |
2828 source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
29+ git clone https://github.com/ros-navigation/nav2_minimal_turtlebot_simulation.git
30+ cd nav2_minimal_turtlebot_simulation
31+ git checkout f4eefd049359b3f0becabd7a0870005f4140ec08
32+ cd ..
2933 colcon build --continue-on-error
3034 source install/setup.bash
3135 - name : Cache Build
@@ -149,7 +153,7 @@ jobs:
149153 source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
150154 source install/setup.bash
151155 #shellcheck disable=SC1083
152- scenario_batch_execution -i examples/example_scenario/ -o test_example_scenario -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
156+ scenario_batch_execution -i examples/example_scenario/ -o test_example_scenario --ignore-process-return-value -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
153157 - name : Upload result
154158 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
155159 if : always()
@@ -176,7 +180,7 @@ jobs:
176180 source /opt/ros/${{ github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}/setup.bash
177181 source install/setup.bash
178182 # shellcheck disable=SC1083
179- scenario_batch_execution -i examples/example_library/scenarios -o test_example_library -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
183+ scenario_batch_execution -i examples/example_library/scenarios -o test_example_library --ignore-process-return-value -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
180184 - name : Upload result
181185 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
182186 if : always()
@@ -204,7 +208,7 @@ jobs:
204208 source install/setup.bash
205209 scenario_variation -o scenario_variation_out examples/example_scenario_variation/example_scenario_variation.osc
206210 # shellcheck disable=SC1083
207- scenario_batch_execution -i scenario_variation_out -o test_example_variation -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
211+ scenario_batch_execution -i scenario_variation_out -o test_example_variation --ignore-process-return-value -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
208212 - name : Upload result
209213 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
210214 if : always()
@@ -237,7 +241,7 @@ jobs:
237241 export IGN_PARTITION=${HOSTNAME}:${GITHUB_RUN_ID}
238242 sed -i 's/60s/600s/g' examples/example_nav2/example_nav2.osc
239243 # shellcheck disable=SC1083
240- scenario_batch_execution -i examples/example_nav2/ -o test_example_nav2 -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=true
244+ scenario_batch_execution -i examples/example_nav2/ -o test_example_nav2 --ignore-process-return-value -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True use_rviz:=False
241245 - name : Upload result
242246 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
243247 if : always()
@@ -270,7 +274,7 @@ jobs:
270274 export IGN_PARTITION=${HOSTNAME}:${GITHUB_RUN_ID}
271275 sed -i 's/120s/600s/g' examples/example_simulation/scenarios/example_simulation.osc
272276 # shellcheck disable=SC1083
273- scenario_batch_execution -i examples/example_simulation/scenarios/ -o test_example_simulation -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=true
277+ scenario_batch_execution -i examples/example_simulation/scenarios/ -o test_example_simulation --ignore-process-return-value -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True use_rviz:=False
274278 - name : Upload result
275279 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
276280 if : always()
@@ -303,7 +307,7 @@ jobs:
303307 export IGN_PARTITION=${HOSTNAME}:${GITHUB_RUN_ID}
304308 sed -i 's/240s/900s/g' examples/example_multi_robot/scenarios/example_multi_robot.osc
305309 # shellcheck disable=SC1083
306- scenario_batch_execution -i examples/example_multi_robot/scenarios/ -o test_example_multirobot -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=true
310+ scenario_batch_execution -i examples/example_multi_robot/scenarios/ -o test_example_multirobot --ignore-process-return-value -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True use_rviz:=False
307311 - name : Upload result
308312 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
309313 if : always()
@@ -351,7 +355,7 @@ jobs:
351355 export -n CYCLONEDDS_URI
352356 export ROS_DOMAIN_ID=2
353357 # shellcheck disable=SC1083
354- scenario_batch_execution -i examples/example_external_method/scenarios -o test_example_external_method -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=true
358+ scenario_batch_execution -i examples/example_external_method/scenarios -o test_example_external_method --ignore-process-return-value -- ros2 launch scenario_execution_ros scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True
355359 - name : Upload result
356360 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
357361 if : always()
@@ -384,7 +388,7 @@ jobs:
384388 export IGN_PARTITION=${HOSTNAME}:${GITHUB_RUN_ID}
385389 sed -i 's/60s/600s/g' examples/example_moveit2/example_moveit2.osc
386390 # shellcheck disable=SC1083
387- scenario_batch_execution -i examples/example_moveit2/ -o test_example_moveit2 -- ros2 launch arm_sim_scenario sim_moveit_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
391+ scenario_batch_execution -i examples/example_moveit2/ -o test_example_moveit2 --ignore-process-return-value -- ros2 launch arm_sim_scenario sim_moveit_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR}
388392 - name : Upload result
389393 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
390394 if : always()
@@ -417,7 +421,7 @@ jobs:
417421 export ROS_DOMAIN_ID=2
418422 export IGN_PARTITION=${HOSTNAME}:${GITHUB_RUN_ID}
419423 # shellcheck disable=SC1083
420- scenario_batch_execution -i test/scenario_execution_gazebo_test/scenarios/ -o test_scenario_execution_gazebo -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=true
424+ scenario_batch_execution -i test/scenario_execution_gazebo_test/scenarios/ -o test_scenario_execution_gazebo --ignore-process-return-value -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True use_rviz:=False
421425 - name : Upload result
422426 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
423427 if : always()
@@ -450,7 +454,7 @@ jobs:
450454 export ROS_DOMAIN_ID=2
451455 export IGN_PARTITION=${HOSTNAME}:${GITHUB_RUN_ID}
452456 # shellcheck disable=SC1083
453- scenario_batch_execution -i test/scenario_execution_nav2_test/scenarios/ -o test_scenario_execution_nav2 -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=true
457+ scenario_batch_execution -i test/scenario_execution_nav2_test/scenarios/ -o test_scenario_execution_nav2 --ignore-process-return-value -- ros2 launch tb4_sim_scenario sim_nav_scenario_launch.py scenario:={SCENARIO} output_dir:={OUTPUT_DIR} headless:=True
454458 - name : Upload result
455459 uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
456460 if : always()
0 commit comments