File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed
src/integration_tests/testplans Expand file tree Collapse file tree 3 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ schedule :
3+ - cron : ' 00 4 * * 0' # Runs at 8:00 am PST (4:00 am UTC) on Sunday
4+ workflow_dispatch :
5+
6+
7+ jobs :
8+ test_schedule :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : ros_integration_test
12+ run : ./scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ if [[ $LOCAL_RUN != " true" ]]; then
5+ # give user permissions, required for GitHub Actions
6+ sudo chown -R $( whoami) :$( whoami) $ROS_WORKSPACE
7+
8+ source /opt/ros/${ROS_DISTRO} /setup.bash
9+ ./scripts/setup.sh
10+ ./scripts/build.sh
11+ source $ROS_WORKSPACE /install/setup.bash
12+ fi
13+
14+ echo " Integration tests started"
15+ cd $ROS_WORKSPACE /src/integration_tests
16+
17+ for FILE in $ROS_WORKSPACE /src/integration_tests/testplans/* ; do
18+ if [ -f $FILE ]; then
19+ echo " Running $FILE test plan"
20+ ros2 run integration_tests run --ros-args -p testplan:=$FILE
21+ fi
22+ done
23+
24+ echo " Integration tests finished"
Original file line number Diff line number Diff line change 11# Example testplan - Does not currently show HTTP I/O
2- timeout_sec : 3
2+ timeout_sec : 10
33
44required_packages :
55 - name : local_pathfinding
You can’t perform that action at this time.
0 commit comments