Skip to content

Commit 9e86653

Browse files
authored
Shuffle go tests (#83)
1 parent 05a5c64 commit 9e86653

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
- name: Print the binary path
197197
run: go test -count=1 -v ./internal
198198

199-
- run: go test -count=1 ./...
199+
- run: go test -count=1 -shuffle=on ./...
200200

201201
merge:
202202
needs:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ phar: vendor
1818

1919
test-%: %
2020
PATH="$(shell pwd)/$*:$(shell echo $$PATH)" \
21-
go test -count=1 ./...
21+
go test -count=1 -shuffle=on ./...
2222

2323
.PHONY: tests/data/versions
2424
tests/data/versions: MAJORS := 5 7 8

0 commit comments

Comments
 (0)