mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
finish
This commit is contained in:
parent
50df84eec9
commit
0efadb6344
4 changed files with 12 additions and 8 deletions
|
@ -14,12 +14,12 @@ pipeline:
|
|||
- go version
|
||||
- go install mvdan.cc/gofumpt@latest
|
||||
- "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }"
|
||||
- golangci-lint run --timeout 5m
|
||||
- golangci-lint run --timeout 5m --build-tags integration
|
||||
|
||||
test:
|
||||
image: golang:1.18
|
||||
commands:
|
||||
- go test codeberg.org/codeberg/pages/server/...
|
||||
- go test -race codeberg.org/codeberg/pages/server/...
|
||||
|
||||
build:
|
||||
image: golang:1.18
|
||||
|
@ -30,7 +30,7 @@ pipeline:
|
|||
image: golang:1.18
|
||||
detach: true
|
||||
commands:
|
||||
- go test -tags integration codeberg.org/codeberg/pages/integration/...
|
||||
- go test -race -tags integration codeberg.org/codeberg/pages/integration/...
|
||||
environment:
|
||||
- ACME_API=https://acme.mock.directory
|
||||
- PAGES_DOMAIN=localhost.mock.directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue