add test targets to Justfile

This commit is contained in:
6543 2022-06-13 13:45:36 +02:00
parent 38fb28f84f
commit d0d5189753

View file

@ -27,3 +27,9 @@ tool-gofumpt:
@hash gofumpt> /dev/null 2>&1; if [ $? -ne 0 ]; then \
go install mvdan.cc/gofumpt@latest; \
fi
test:
go test -race codeberg.org/codeberg/pages/server/...
integration:
go test -race -tags integration codeberg.org/codeberg/pages/integration/...