Add timeouts to github jobs. Estimates taken from empirical run times (actions history), with a generous buffer added. (#12687)

This commit is contained in:
Dawid Weiss 2023-10-17 08:02:53 +02:00 committed by GitHub
parent a1cf22e6a9
commit 6dac2f7afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,7 @@ permissions:
jobs:
test:
name: Run distribution tests
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:

View File

@ -17,6 +17,7 @@ jobs:
# This runs all validation checks without tests.
checks:
name: gradle check -x test (JDK ${{ matrix.java }} on ${{ matrix.os }})
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
@ -45,6 +46,7 @@ jobs:
# This runs all tests without any other validation checks.
tests:
name: gradle test (JDK ${{ matrix.java }} on ${{ matrix.os }})
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:

View File

@ -11,6 +11,7 @@ on:
jobs:
test:
name: Run Hunspell regression tests
timeout-minutes: 15
runs-on: ubuntu-latest