.github/worksflows: Bug fix: wasmbrowsertest doesn't support -shuffle yet

This commit is contained in:
Hajime Hoshi 2021-09-22 20:09:31 +09:00
parent 3cb5f78036
commit 683da479c7

View File

@ -91,19 +91,13 @@ jobs:
run: | run: |
go test -tags=example -shuffle=on -v ./... go test -tags=example -shuffle=on -v ./...
- name: go test (Wasm, Go 1.16 or older)
# TODO: Investigate times out on Windows. (#1313)
if: ${{ !startsWith(matrix.os, 'windows-') && (startsWith(matrix.go, '1.15.') || startsWith(matrix.go, '1.16.')) }}
run: |
env GOOS=js GOARCH=wasm go test -tags=example -v ./...
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -v ./...
- name: go test (Wasm) - name: go test (Wasm)
# 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=on -v ./... # TODO: Add -shuffle=on after agnivade/wasmbrowsertest#23 is fixed.
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -shuffle=on -v ./... env GOOS=js GOARCH=wasm go test -tags=example -v ./...
env GOOS=js GOARCH=wasm go test -tags=example,ebitenwebgl1 -v ./...
- name: Install ebitenmobile - name: Install ebitenmobile
run: | run: |