From f3bf13efbb0f5f0d31cb50e37d416ea503e170e7 Mon Sep 17 00:00:00 2001 From: TangRufus Date: Sun, 26 Oct 2025 12:40:36 +0000 Subject: [PATCH] Shuffle go tests --- .github/workflows/test.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 744b2d3..c51eec1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -196,7 +196,7 @@ jobs: - name: Print the binary path run: go test -count=1 -v ./internal - - run: go test -count=1 ./... + - run: go test -count=1 -shuffle=on ./... merge: needs: diff --git a/Makefile b/Makefile index 39bbc62..8627897 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ phar: vendor test-%: % PATH="$(shell pwd)/$*:$(shell echo $$PATH)" \ - go test -count=1 ./... + go test -count=1 -shuffle=on ./... .PHONY: tests/data/versions tests/data/versions: MAJORS := 5 7 8