From 6edb1fa1f86b78b8b482538025f6848ba06d8e4c Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 6 Oct 2021 01:16:05 -0400 Subject: [PATCH] github actions add timeout to SITL tests run --- .github/workflows/mavros_mission_tests.yml | 1 + .github/workflows/mavros_offboard_tests.yml | 1 + .github/workflows/sitl_tests.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/mavros_mission_tests.yml b/.github/workflows/mavros_mission_tests.yml index 20ba88f645..7b11da9536 100644 --- a/.github/workflows/mavros_mission_tests.yml +++ b/.github/workflows/mavros_mission_tests.yml @@ -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() diff --git a/.github/workflows/mavros_offboard_tests.yml b/.github/workflows/mavros_offboard_tests.yml index b05b15f506..9fba6ff065 100644 --- a/.github/workflows/mavros_offboard_tests.yml +++ b/.github/workflows/mavros_offboard_tests.yml @@ -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() diff --git a/.github/workflows/sitl_tests.yml b/.github/workflows/sitl_tests.yml index 0f3c45b7c6..6a3c6d307f 100644 --- a/.github/workflows/sitl_tests.yml +++ b/.github/workflows/sitl_tests.yml @@ -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()