29 lines
387 B
YAML
29 lines
387 B
YAML
image: golang:latest
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
compile:
|
|
stage: build
|
|
script:
|
|
- go build -o bingobot
|
|
artifacts:
|
|
paths:
|
|
- bingobot
|
|
- start.sh
|
|
|
|
tests-state-pkg:
|
|
stage: test
|
|
script:
|
|
- go test ./internal/state
|
|
|
|
tests-config-pkg:
|
|
stage: test
|
|
script:
|
|
- go test ./internal/config
|
|
|
|
tests-docbuf-pkg:
|
|
stage: test
|
|
script:
|
|
- go test ./pkg/docbuf
|