You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2023/10/17 06:10:37 UTC

[lucene] branch branch_9x updated: Add timeouts to github jobs. Estimates taken from empirical run times (actions history), with a generous buffer added. (#12687)

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 1ab477aa72a Add timeouts to github jobs. Estimates taken from empirical run times (actions history), with a generous buffer added. (#12687)
1ab477aa72a is described below

commit 1ab477aa72a5cb6b31f5179b06d3090867e50955
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Tue Oct 17 08:02:53 2023 +0200

    Add timeouts to github jobs. Estimates taken from empirical run times (actions history), with a generous buffer added. (#12687)
---
 .github/workflows/distribution.yml     | 1 +
 .github/workflows/gradle-precommit.yml | 2 ++
 .github/workflows/hunspell.yml         | 1 +
 3 files changed, 4 insertions(+)

diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.yml
index ae4c851cb5a..ce950376b0a 100644
--- a/.github/workflows/distribution.yml
+++ b/.github/workflows/distribution.yml
@@ -19,6 +19,7 @@ permissions:
 jobs:
   test:
     name: Run distribution tests
+    timeout-minutes: 15
 
     runs-on: ${{ matrix.os }}
     strategy:
diff --git a/.github/workflows/gradle-precommit.yml b/.github/workflows/gradle-precommit.yml
index 2943938ee88..83bbba8d950 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: 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:
diff --git a/.github/workflows/hunspell.yml b/.github/workflows/hunspell.yml
index 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: 15
 
     runs-on: ubuntu-latest