fix(ci): use -short in go-cache go test to skip DB setup in TestMain

This commit is contained in:
Jesse Hallam 2026-05-25 16:29:04 -03:00
parent ec0d02d02f
commit e9407b6a0f
No known key found for this signature in database
GPG key ID: B1006FD711F7B1D8

View file

@ -445,8 +445,8 @@ go-cache: setup-go-work install-ci-tools ## Pre-warm Go module and build cache f
@(cd public && $(GO) mod download all)
$(GO) build ./...
@(cd public && $(GO) build ./...)
$(GO) test -run=^$$ -count=1 ./...
@(cd public && $(GO) test -run=^$$ -count=1 ./...)
$(GO) test -run=^$$ -count=1 -short ./...
@(cd public && $(GO) test -run=^$$ -count=1 -short ./...)
test-compile: setup-go-work gotestsum ## Compile tests.
@echo COMPILE TESTS