target to run single unit test

This commit is contained in:
6543 2022-06-14 19:13:18 +02:00
parent 6b0813abe0
commit a92088f8e8
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE

View file

@ -31,6 +31,9 @@ tool-gofumpt:
test:
go test -race codeberg.org/codeberg/pages/server/...
test-run TEST:
go test -race -run "^{{TEST}}$" codeberg.org/codeberg/pages/server/...
integration:
go test -race -tags integration codeberg.org/codeberg/pages/integration/...