From 4d04b32986bb73bfd5d5e56bcd17cfa82c90885c Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 31 Dec 2019 10:24:00 -0800 Subject: Run tests in the consistent order `make check` runs test -> test-all -> test-spec, and other CIs follow that too. --- .github/workflows/mingw.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '.github') diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 00fb5fdf7b..ae3ce05967 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -116,31 +116,31 @@ jobs: $env:TMPDIR = "$pwd/temp" make -C build test - - name: test-spec + - name: test-all if: success() || failure() - timeout-minutes: 10 + timeout-minutes: 25 run: | $env:TMPDIR = "$pwd/temp" - $env:PATH = "$pwd/install/bin;$env:PATH" # Actions uses UTF8, causes test failures, similar to normal OS setup $PSDefaultParameterValues['*:Encoding'] = 'utf8' [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") - ruby -v - cd src/spec/ruby - ruby ../mspec/bin/mspec -j + $jobs = [int]$env:NUMBER_OF_PROCESSORS + make -C build test-all TESTOPTS="-j $jobs --retry --job-status=normal --show-skip --timeout-scale=1.5" - - name: test-all + - name: test-spec if: success() || failure() - timeout-minutes: 25 + timeout-minutes: 10 run: | $env:TMPDIR = "$pwd/temp" + $env:PATH = "$pwd/install/bin;$env:PATH" # Actions uses UTF8, causes test failures, similar to normal OS setup $PSDefaultParameterValues['*:Encoding'] = 'utf8' [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") - $jobs = [int]$env:NUMBER_OF_PROCESSORS - make -C build test-all TESTOPTS="-j $jobs --retry --job-status=normal --show-skip --timeout-scale=1.5" + ruby -v + cd src/spec/ruby + ruby ../mspec/bin/mspec -j - uses: k0kubun/action-slack@v2.0.0 with: -- cgit v1.2.3