This commit is contained in:
6543 2022-06-10 18:28:12 +02:00
parent e90ecfaf7b
commit c071ff5e7a

View file

@ -18,7 +18,7 @@ pipeline:
test: test:
image: golang:1.18 image: golang:1.18
commands: commands:
- go test ./... - go test codeberg.org/codeberg/pages/server/...
build: build:
image: golang:1.18 image: golang:1.18
@ -32,7 +32,7 @@ pipeline:
- go run . --verbose & - go run . --verbose &
- pid=$! - pid=$!
- sleep 10s - sleep 10s
- (cd integration && go test -tags integration ./...) - go test -tags integration codeberg.org/codeberg/pages/integration/...
- kill $pid - kill $pid
environment: environment:
- ACME_API=https://acme.mock.directory - ACME_API=https://acme.mock.directory