Compare commits
1 Commits
66383adf06
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a4ffaa945 |
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@@ -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"
|
||||||
Reference in New Issue
Block a user