Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/workspace_integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ jobs:
. /opt/overlay_ws/install/setup.sh
colcon build ${{ inputs.colcon_build_args }} ${{ steps.check_config_package.outputs.config_package_build_arg }}
- name: Run colcon test
defaults:
run:
shell: bash
run: |
. /opt/ros/humble/setup.sh
. /opt/underlay_ws/install/setup.sh
Expand All @@ -121,7 +124,12 @@ jobs:
export DISPLAY=:99
Xvfb :99 -screen 0 1024x768x24 &
echo "Running colcon test"
colcon test --retest-until-pass 1 ${{ inputs.colcon_test_args }} ${{ steps.check_config_package.outputs.config_package_test_arg }}
external_packages="$(colcon list --base-paths src/external_dependencies --names-only || true)"
if [ -n "$external_packages" ]; then
colcon test --packages-skip $external_packages --retest-until-pass 1 ${{ inputs.colcon_test_args }} ${{ steps.check_config_package.outputs.config_package_test_arg }}
else
colcon test --retest-until-pass 1 ${{ inputs.colcon_test_args }} ${{ steps.check_config_package.outputs.config_package_test_arg }}
fi
- if: always()
run: |
colcon test-result --verbose
Expand Down