File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ jobs:
110110 . /opt/overlay_ws/install/setup.sh
111111 colcon build ${{ inputs.colcon_build_args }} ${{ steps.check_config_package.outputs.config_package_build_arg }}
112112 - name : Run colcon test
113+ defaults :
114+ run :
115+ shell : bash
113116 run : |
114117 . /opt/ros/humble/setup.sh
115118 . /opt/underlay_ws/install/setup.sh
@@ -121,7 +124,12 @@ jobs:
121124 export DISPLAY=:99
122125 Xvfb :99 -screen 0 1024x768x24 &
123126 echo "Running colcon test"
124- colcon test --retest-until-pass 1 ${{ inputs.colcon_test_args }} ${{ steps.check_config_package.outputs.config_package_test_arg }}
127+ external_packages="$(colcon list --base-paths src/external_dependencies --names-only || true)"
128+ if [ -n "$external_packages" ]; then
129+ colcon test --packages-skip $external_packages --retest-until-pass 1 ${{ inputs.colcon_test_args }} ${{ steps.check_config_package.outputs.config_package_test_arg }}
130+ else
131+ colcon test --retest-until-pass 1 ${{ inputs.colcon_test_args }} ${{ steps.check_config_package.outputs.config_package_test_arg }}
132+ fi
125133 - if : always()
126134 run : |
127135 colcon test-result --verbose
You can’t perform that action at this time.
0 commit comments