ruby-changes:68238
From: Nobuyoshi <ko1@a...>
Date: Mon, 4 Oct 2021 12:20:38 +0900 (JST)
Subject: [ruby-changes:68238] e25ad5475c (master): Shorten timeouts on macOS and MinGW
https://git.ruby-lang.org/ruby.git/commit/?id=e25ad5475c From e25ad5475c235b51395fe14edf212c85fe3e17fe Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 4 Oct 2021 11:58:32 +0900 Subject: 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L39 - 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L87 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L108 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' -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/