From cdd46912dcf87daf1cbd65774854f7905a3637af Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 18 Mar 2022 19:45:14 +0900 Subject: [PATCH] .github/workflow: clean up the YAML --- .github/workflows/test.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c12bd0553..2ed774562 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,17 +84,11 @@ jobs: run: | go build -tags=example,ebitencbackend -v ./... - - name: go test (Go 1.16 or older) - # TODO: Add more test environments (#1305) - if: ${{ startsWith(matrix.os, 'ubuntu-') && (startsWith(matrix.go, '1.15.') || startsWith(matrix.go, '1.16.')) }} - run: | - go test -tags=example -v ./... - - name: go test # 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-') run: | - go test -tags=example -shuffle=on -v ./... + go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./... - name: go test (Wasm) # TODO: Investigate times out on Windows. (#1313)