Fix tests to let CI pass (#66)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/66
Reviewed-by: Otto Richter <otto@codeberg.org>
This commit is contained in:
6543 2022-03-30 21:31:09 +02:00 committed by 6543
parent 5d2d701155
commit 8363a16c1c
2 changed files with 24 additions and 45 deletions

View file

@ -13,11 +13,10 @@ pipeline:
- "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }"
- golangci-lint run
# # TODO: make tests work
# test:
# image: golang
# commands:
# - go test ./...
test:
image: golang
commands:
- go test ./...
build:
image: golang