Use gotestsum for make test

This commit is contained in:
2023-05-27 15:39:07 +02:00
parent a1788bf75a
commit 28c2721036
3 changed files with 3 additions and 10 deletions

View File

@@ -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