Run tests in the consistent order
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
This commit is contained in:
parent
52c228604b
commit
74cb414885
24
.github/workflows/mingw.yml
vendored
24
.github/workflows/mingw.yml
vendored
@ -116,6 +116,18 @@ jobs:
|
|||||||
$env:TMPDIR = "$pwd/temp"
|
$env:TMPDIR = "$pwd/temp"
|
||||||
make -C build test
|
make -C build test
|
||||||
|
|
||||||
|
- name: test-all
|
||||||
|
if: success() || failure()
|
||||||
|
timeout-minutes: 25
|
||||||
|
run: |
|
||||||
|
$env:TMPDIR = "$pwd/temp"
|
||||||
|
# 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"
|
||||||
|
|
||||||
- name: test-spec
|
- name: test-spec
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
@ -130,18 +142,6 @@ jobs:
|
|||||||
cd src/spec/ruby
|
cd src/spec/ruby
|
||||||
ruby ../mspec/bin/mspec -j
|
ruby ../mspec/bin/mspec -j
|
||||||
|
|
||||||
- name: test-all
|
|
||||||
if: success() || failure()
|
|
||||||
timeout-minutes: 25
|
|
||||||
run: |
|
|
||||||
$env:TMPDIR = "$pwd/temp"
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
- uses: k0kubun/action-slack@v2.0.0
|
- uses: k0kubun/action-slack@v2.0.0
|
||||||
with:
|
with:
|
||||||
payload: |
|
payload: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user