mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 22:06:57 +00:00
try
This commit is contained in:
parent
e90ecfaf7b
commit
c071ff5e7a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue