Files
goodie/.gitlab-ci.yml
Marc 5a4ffaa945 chore: add GitLab CI pipeline for Go tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 18:47:20 +02:00

18 lines
329 B
YAML

stages:
- test
test:
stage: test
image: golang:1.24-bookworm
variables:
CGO_ENABLED: "0"
script:
- go test ./pkg/orm/... ./pkg/server/... -v -count=1
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- .go-cache/
before_script:
- mkdir -p .go-cache
- export GOPATH="$CI_PROJECT_DIR/.go-cache"