Skip to content

🎧 Your Personal Streaming Service

Shuffle the tests, just in case (#2272)

Julien Voisin17e0cd55042f
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index fa74e10fb..94fb08ad3 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 658e02d9d..a868da143 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