From e25ad5475c235b51395fe14edf212c85fe3e17fe Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 4 Oct 2021 11:58:32 +0900 Subject: [PATCH] Shorten timeouts on macOS and MinGW From recent results, `check` and `test-all` will finish within 10 minutes on macOS or 30 minutes on MinGW, otherwise time out. --- .github/workflows/macos.yml | 2 +- .github/workflows/mingw.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index daaea69ecb..46f00387eb 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -39,7 +39,7 @@ jobs: - run: make prepare-gems if: ${{ matrix.test_task == 'check' }} - run: make $JOBS -s ${{ matrix.test_task }} - timeout-minutes: 60 + timeout-minutes: 15 env: RUBY_TESTOPTS: "-q --tty=no" TEST_BUNDLED_GEMS_ALLOW_FAILURES: "rexml" diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index d98f532cd7..7ccf5f0b61 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -87,7 +87,7 @@ jobs: make -j $jobs update-gems - name: make all - timeout-minutes: 40 + timeout-minutes: 20 run: | $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS) make -j $jobs @@ -108,7 +108,7 @@ jobs: make test - name: test-all - timeout-minutes: 60 + timeout-minutes: 30 run: | # Actions uses UTF8, causes test failures, similar to normal OS setup $PSDefaultParameterValues['*:Encoding'] = 'utf8'