Explorar o código

feat: CI test options

Fela Maslen %!s(int64=5) %!d(string=hai) anos
pai
achega
fc88eaf559
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      gmus-backend/Makefile

+ 2 - 2
gmus-backend/Makefile

@@ -29,12 +29,12 @@ clean:
 fmt:
 	@go fmt github.com/felamaslen/gmus-backend/...
 lint:
-	@test -z $(shell gofmt -l .) || (echo "Found formatting issues; run \"make fmt\" to fix"; exit 1)
+	@test -z $(shell gofmt -l .) && echo "Lint ok" || (echo "Found formatting issues; run \"make fmt\" to fix"; exit 1)
 
 test:
 	GO_ENV=test ginkgo ./...
 test.ci:
-	GO_ENV=ci ginkgo ./...
+	GO_ENV=ci ginkgo --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race --progress --noColor ./...
 
 migrate:
 	go run ./cmd/gmus.migrate