Procházet zdrojové kódy

feat: CI test options

Fela Maslen před 5 roky
rodič
revize
fc88eaf559
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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