diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-09 20:13:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 20:13:05 +0100 |
commit | 05d3bef8364c93b205fd47398420dcd705df2714 (patch) | |
tree | e8e93a320e05586a30759e0353607725fc9c8d15 | |
parent | 2af31fc50ac20493e0e931fc0750e3d15da436ef (diff) | |
download | rneovim-05d3bef8364c93b205fd47398420dcd705df2714.tar.gz rneovim-05d3bef8364c93b205fd47398420dcd705df2714.tar.bz2 rneovim-05d3bef8364c93b205fd47398420dcd705df2714.zip |
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.
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3974e8c85..d1a6b5dcaa 100644 --- 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' |