From 6dac2f7afce483a35cb97e4f2022693f4168c496 Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Tue, 17 Oct 2023 08:02:53 +0200 Subject: [PATCH] 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 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: 15 runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/gradle-precommit.yml b/.github/workflows/gradle-precommit.yml index 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: 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