Add integration test for custom domain (#90)

and some nits

---
close #89

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/90
This commit is contained in:
6543 2022-06-13 14:43:49 +02:00
parent 38fb28f84f
commit 913f762eb0
3 changed files with 23 additions and 5 deletions

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/...