mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
start server for integration tests in code
This commit is contained in:
parent
94bc8c854e
commit
a961655d2c
3 changed files with 102 additions and 73 deletions
|
@ -30,14 +30,4 @@ pipeline:
|
|||
image: golang:1.18
|
||||
detach: true
|
||||
commands:
|
||||
- go run . --verbose &
|
||||
- pid=$!
|
||||
- sleep 10s
|
||||
- go test -tags integration codeberg.org/codeberg/pages/integration/...
|
||||
- kill $pid
|
||||
environment:
|
||||
- ACME_API=https://acme.mock.directory
|
||||
- ACME_ACCEPT_TERMS=true
|
||||
- PAGES_DOMAIN=localhost.mock.directory
|
||||
- RAW_DOMAIN=raw.localhost.mock.directory
|
||||
- PORT=4430
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue