From 17e0cd55042f0589ed54600853163255cec302cd Mon Sep 17 00:00:00 2001 From: Julien Voisin Date: Thu, 23 Mar 2023 01:12:12 +0100 Subject: [PATCH] Shuffle the tests, just in case (#2272) --- .github/workflows/pipeline.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index fa74e10f..94fb08ad 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -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 diff --git a/Makefile b/Makefile index 658e02d9..a868da14 100644 --- a/Makefile +++ b/Makefile @@ -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