mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 22:06:57 +00:00
add test targets to Justfile
This commit is contained in:
parent
38fb28f84f
commit
d0d5189753
1 changed files with 6 additions and 0 deletions
6
Justfile
6
Justfile
|
@ -27,3 +27,9 @@ tool-gofumpt:
|
||||||
@hash gofumpt> /dev/null 2>&1; if [ $? -ne 0 ]; then \
|
@hash gofumpt> /dev/null 2>&1; if [ $? -ne 0 ]; then \
|
||||||
go install mvdan.cc/gofumpt@latest; \
|
go install mvdan.cc/gofumpt@latest; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
test:
|
||||||
|
go test -race codeberg.org/codeberg/pages/server/...
|
||||||
|
|
||||||
|
integration:
|
||||||
|
go test -race -tags integration codeberg.org/codeberg/pages/integration/...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue