2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-25 17:16:25 +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
tests:
@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:
@[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]