Apache Lucene open-source search software
Add timeouts to github jobs. Estimates taken from empirical run times (actions history), with a generous buffer added. (#12687)
Dawid Weiss6dac2f7afce4
diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.ymlindex 7955fa8ae42..ee5b42f8957 100644--- a/.github/workflows/distribution.yml+++ b/.github/workflows/distribution.yml@@ -18,6 +18,7 @@ permissions:jobs:test:name: Run distribution tests+ timeout-minutes: 15runs-on: ${{ matrix.os }}strategy:diff --git a/.github/workflows/gradle-precommit.yml b/.github/workflows/gradle-precommit.ymlindex 4c76d5e171f..3d19d988133 100644--- a/.github/workflows/gradle-precommit.yml+++ b/.github/workflows/gradle-precommit.yml@@ -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: 15runs-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: 30runs-on: ${{ matrix.os }}strategy:diff --git a/.github/workflows/hunspell.yml b/.github/workflows/hunspell.ymlindex ba7e22121cb..37b8f7fb182 100644--- a/.github/workflows/hunspell.yml+++ b/.github/workflows/hunspell.yml@@ -11,6 +11,7 @@ on:jobs:test:name: Run Hunspell regression tests+ timeout-minutes: 15runs-on: ubuntu-latest