.github/workflows: enable -shuffle on browsers

Closes #2273
This commit is contained in:
Hajime Hoshi 2022-08-27 20:29:35 +09:00
parent c7026a81f0
commit 0587a45c61

View File

@ -129,9 +129,8 @@ jobs:
# TODO: Investigate times out on Windows. (#1313)
if: ${{ !startsWith(matrix.os, 'windows-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
run: |
# TODO: Add -shuffle=on after agnivade/wasmbrowsertest#23 is fixed.
env GOOS=js GOARCH=wasm go test -tags=example -v ./...
env GOOS=js GOARCH=wasm go test -tags=example,ebitenginewebgl1 -v ./...
env GOOS=js GOARCH=wasm go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
env GOOS=js GOARCH=wasm go test -tags=example,ebitenginewebgl1 ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
- name: Install ebitenmobile
run: |