diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-31 10:24:00 -0800 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2020-01-30 13:34:25 +0900 |
commit | 4d04b32986bb73bfd5d5e56bcd17cfa82c90885c (patch) | |
tree | 8b9e5bc687760ec188169e9e0c8e0b52a6c73210 /.github/workflows | |
parent | 24621f23e5cc9403910b82e671c2b299ec65bd67 (diff) |
Run tests in the consistent order
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
Diffstat (limited to '.github/workflows')
-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: |