Shuffle the tests, just in case (#2272)

This commit is contained in:
Julien Voisin 2023-03-23 01:12:12 +01:00 committed by GitHub
parent 3a6d2dcd49
commit 17e0cd5504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ jobs:
- name: Test
continue-on-error: ${{contains(matrix.go_version, 'beta') || contains(matrix.go_version, 'rc')}}
run: go test -race -cover ./... -v
run: go test -shuffle=on -race -cover ./... -v
js:
name: Build JS bundle

View File

@ -29,7 +29,7 @@ watch: ##@Development Start Go tests in watch mode (re-run when code changes)
.PHONY: watch
test: ##@Development Run Go tests
go test -race ./...
go test -race -shuffle=on ./...
.PHONY: test
testall: test ##@Development Run Go and JS tests