Use gotestsum for make test
This commit is contained in:
@@ -74,7 +74,8 @@ fmt:
|
||||
swag fmt
|
||||
|
||||
test:
|
||||
go test ./test/...
|
||||
which gotestsum || go install gotest.tools/gotestsum@latest
|
||||
gotestsum --format "testname" -- -tags="timetzdata sqlite_fts5 sqlite_foreign_keys" "./test"
|
||||
|
||||
migrate:
|
||||
CGO_ENABLED=1 go build -v -o _build/scn_migrate -tags "timetzdata sqlite_fts5 sqlite_foreign_keys" ./cmd/migrate
|
||||
|
Reference in New Issue
Block a user