Skip to content

Commit

Permalink
Add timeouts to github jobs. Estimates taken from empirical run times…
Browse files Browse the repository at this point in the history
… (actions history), with a generous buffer added. (#12687)
  • Loading branch information
dweiss committed Oct 17, 2023
1 parent ba26abc commit 1ab477a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:
jobs:
test:
name: Run distribution tests
timeout-minutes: 15

runs-on: ${{ matrix.os }}
strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gradle-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/hunspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
test:
name: Run Hunspell regression tests
timeout-minutes: 15

runs-on: ubuntu-latest

Expand Down

0 comments on commit 1ab477a

Please sign in to comment.