From 5a4ffaa94540cd631a46eacc6a93e6bf591b3899 Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 12 Apr 2026 18:47:20 +0200 Subject: [PATCH] chore: add GitLab CI pipeline for Go tests Co-Authored-By: Claude Sonnet 4.6 --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..15d5373 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +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"