Add tests

This commit is contained in:
nemunaire 2023-11-22 12:34:58 +01:00
commit ecf5cac9c9
2 changed files with 66 additions and 1 deletions

View file

@ -28,12 +28,13 @@ steps:
- npm run build
- tar chjf ../../deploy/htdocs-qa.tar.bz2 build
- name: vet
- name: vet and tests
image: golang:alpine
commands:
- apk --no-cache add build-base
- go vet -v -buildvcs=false -tags gitgo ./...
- go vet -v -buildvcs=false ./...
- go test ./...
- name: build admin
image: golang:alpine