We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d3781c commit 8b8068dCopy full SHA for 8b8068d
1 file changed
ci/script.sh
@@ -62,15 +62,18 @@ run_python_core_tests() {
62
63
run_python_ros2_tests() {
64
export PYTHONPATH=.
65
+ set +u
66
if [ -n "${ROS_DISTRO:-}" ] && [ -f "/opt/ros/${ROS_DISTRO}/setup.bash" ]; then
67
# setup-ros installs the ROS underlay but does not source it for our shell
68
source "/opt/ros/${ROS_DISTRO}/setup.bash"
69
elif [ -f "/opt/ros/jazzy/setup.bash" ]; then
70
source "/opt/ros/jazzy/setup.bash"
71
else
72
+ set -u
73
echo "ROS2 environment setup script not found"
74
exit 1
75
fi
76
77
78
command -v ros2 >/dev/null
79
command -v colcon >/dev/null
0 commit comments