github actions add timeout to SITL tests run

This commit is contained in:
Daniel Agar 2021-10-06 01:16:05 -04:00
parent ad27d2c49a
commit 6edb1fa1f8
3 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ jobs:
run: |
export
./test/rostest_px4_run.sh mavros_posix_test_mission.test mission:=${{matrix.config.mission}} vehicle:=${{matrix.config.vehicle}}
timeout-minutes: 30
- name: Look at core files
if: failure()

View File

@ -74,6 +74,7 @@ jobs:
run: |
export
./test/rostest_px4_run.sh ${{matrix.config.test_file}} vehicle:=${{matrix.config.vehicle}}
timeout-minutes: 30
- name: Look at core files
if: failure()

View File

@ -97,6 +97,7 @@ jobs:
PX4_HOME_ALT: ${{matrix.config.altitude}}
PX4_CMAKE_BUILD_TYPE: ${{matrix.config.build_type}}
run: test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 20 --abort-early --model ${{matrix.config.model}} --upload test/mavsdk_tests/configs/sitl.json
timeout-minutes: 30
- name: Look at core files
if: failure()