Prevent tests running in parallel

Each test tries to reset the database, which shouldn't happen in parallel.
This commit is contained in:
Sybren A. Stüvel 2022-02-01 17:16:16 +01:00
parent fad2dc3042
commit 2ee66af6d4

View File

@ -56,7 +56,7 @@ swagger-ui:
@echo 'Now update pkg/api/static/swagger-ui/index.html to have url: "/api/openapi3.json",'
test: generate
go test -short ${PKG_LIST}
go test -p 1 -short ${PKG_LIST}
vet:
@go vet ${PKG_LIST}