ruby-changes:69502
From: Nobuyoshi <ko1@a...>
Date: Fri, 29 Oct 2021 10:55:43 +0900 (JST)
Subject: [ruby-changes:69502] 96648c5093 (master): Mitigate the timeout of tests [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=96648c5093 From 96648c509353bb5972bb3a4866ab38e0143e9886 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 29 Oct 2021 10:31:03 +0900 Subject: Mitigate the timeout of tests [ci skip] * The worker timeouts seem working for test-all. * The bundled gems have increased. --- .github/workflows/macos.yml | 2 +- .github/workflows/mingw.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index eb04b82b569..1b07dd82ec8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -50,7 +50,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/macos.yml#L50 - run: make prepare-gems if: ${{ matrix.test_task == 'check' }} - run: make -s ${{ matrix.test_task }} - timeout-minutes: ${{ matrix.test_task == 'check' && 15 || 40 }} + timeout-minutes: 40 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 83056f44111..27e8c3b9f04 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -118,7 +118,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L118 make test - name: test-all - timeout-minutes: 30 + timeout-minutes: 40 run: | # Actions uses UTF8, causes test failures, similar to normal OS setup $PSDefaultParameterValues['*:Encoding'] = 'utf8' diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index d19fc50693b..839305e3f41 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -67,7 +67,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L67 ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}' if: ${{ matrix.test_task == 'check' }} - run: make -s ${{ matrix.test_task }} - timeout-minutes: 30 + timeout-minutes: 40 env: RUBY_TESTOPTS: "-q --tty=no" TEST_BUNDLED_GEMS_ALLOW_FAILURES: "" -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/