commit 05d3bef8364c93b205fd47398420dcd705df2714
parent 2af31fc50ac20493e0e931fc0750e3d15da436ef
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date: Thu, 9 Feb 2023 20:13:05 +0100
ci: add individual timeout limits for all tests (#22193)
The CI somtimes freezes on a specific test, wasting 45 minutes for the
entire job. Adding a timeout of 15 minutes to functionaltest and 5
minutes to unittests will mitigate the problem.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -266,10 +266,12 @@ jobs:
- if: matrix.flavor != 'tsan' && matrix.flavor != 'functionaltest-lua' && (success() || failure() && steps.abort_job.outputs.status == 'success')
name: Unittests
+ timeout-minutes: 5
run: ./ci/run_tests.sh unittests
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
name: Functionaltests
+ timeout-minutes: 15
run: ./ci/run_tests.sh functionaltests
- if: matrix.flavor != 'tsan' && (success() || failure() && steps.abort_job.outputs.status == 'success')
@@ -340,6 +342,7 @@ jobs:
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
name: Run functionaltests
+ timeout-minutes: 15
run: cmake --build build --target functionaltest
- if: success() || failure() && steps.abort_job.outputs.status == 'success'