.github/worksflows: Bug fix: Add =on to -shuffle

This commit is contained in:
Hajime Hoshi 2021-09-22 19:58:34 +09:00
parent 0c1449de5e
commit 3cb5f78036

View File

@ -89,7 +89,7 @@ jobs:
# TODO: Add more test environments (#1305) # TODO: Add more test environments (#1305)
if: ${{ startsWith(matrix.os, 'ubuntu-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }} if: ${{ startsWith(matrix.os, 'ubuntu-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: | run: |
go test -tags=example -shuffle -v ./... go test -tags=example -shuffle=on -v ./...
- name: go test (Wasm, Go 1.16 or older) - name: go test (Wasm, Go 1.16 or older)
# TODO: Investigate times out on Windows. (#1313) # TODO: Investigate times out on Windows. (#1313)
@ -102,8 +102,8 @@ jobs:
# TODO: Investigate times out on Windows. (#1313) # TODO: Investigate times out on Windows. (#1313)
if: ${{ !startsWith(matrix.os, 'windows-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }} if: ${{ !startsWith(matrix.os, 'windows-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: | run: |
env GOOS=js GOARCH=wasm go test -tags=example -shuffle -v ./... env GOOS=js GOARCH=wasm go test -tags=example -shuffle=on -v ./...
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -shuffle -v ./... env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -shuffle=on -v ./...
- name: Install ebitenmobile - name: Install ebitenmobile
run: | run: |