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.
This commit is contained in:
Nobuyoshi Nakada 2021-10-04 11:58:32 +09:00
parent 31332cf469
commit e25ad5475c
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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'