Skip to content

Commit

Permalink
Mitigate the timeout of tests [ci skip]
Browse files Browse the repository at this point in the history
* The worker timeouts seem working for test-all.
* The bundled gems have increased.
  • Loading branch information
nobu committed Oct 29, 2021
1 parent 3e743d3 commit 96648c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- 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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
./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: ""
Expand Down

0 comments on commit 96648c5

Please sign in to comment.