Parcourir la source

feat: CI test options

Fela Maslen il y a 5 ans
Parent
commit
fc88eaf559
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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