Selaa lähdekoodia

feat: CI test options

Fela Maslen 5 vuotta sitten
vanhempi
commit
fc88eaf559
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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