mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
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.
This commit is contained in:
parent
2af31fc50a
commit
05d3bef836
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user