mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
Shuffle the tests, just in case (#2272)
This commit is contained in:
parent
3a6d2dcd49
commit
17e0cd5504
2
.github/workflows/pipeline.yml
vendored
2
.github/workflows/pipeline.yml
vendored
@ -69,7 +69,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
continue-on-error: ${{contains(matrix.go_version, 'beta') || contains(matrix.go_version, 'rc')}}
|
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:
|
js:
|
||||||
name: Build JS bundle
|
name: Build JS bundle
|
||||||
|
2
Makefile
2
Makefile
@ -29,7 +29,7 @@ watch: ##@Development Start Go tests in watch mode (re-run when code changes)
|
|||||||
.PHONY: watch
|
.PHONY: watch
|
||||||
|
|
||||||
test: ##@Development Run Go tests
|
test: ##@Development Run Go tests
|
||||||
go test -race ./...
|
go test -race -shuffle=on ./...
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
||||||
testall: test ##@Development Run Go and JS tests
|
testall: test ##@Development Run Go and JS tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user