diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-31 10:24:00 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-31 10:24:01 -0800 |
commit | 74cb4148856230a10daee1d043a8700f6d798bdf (patch) | |
tree | 037e032ce34fd343667527c6b675ea17b87fab06 | |
parent | 52c228604b06692f0afe578f8333eaf078eda8f3 (diff) | |
download | ruby-74cb4148856230a10daee1d043a8700f6d798bdf.tar.gz |
Run tests in the consistent order
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
-rw-r--r-- | .github/workflows/mingw.yml | 20 |
1 files changed, 10 insertions, 10 deletions
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: |