2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-06-28 09:29:51 +00:00

tests: split tests run

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-08-05 19:08:38 +02:00
parent a99983b8cd
commit 51f1354afb
Signed by: adphi
GPG Key ID: F2159213400E50AB

View File

@ -62,7 +62,7 @@ docker-run:
.PHONY: tests .PHONY: tests
tests: tests:
@go generate ./... @go generate ./...
@go test -exec sudo -count=1 -timeout 20m -v ./... @go list ./...| xargs go test -exec sudo -count=1 -timeout 20m -v
check-fmt: check-fmt:
@[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ] @[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]