bingobot/.gitlab-ci.yml
Ava Affine 00fff032c7 Add testing CI
This commit extends our CI definitions to add a testing phase to the pipeline.
The testing phase is intended to be comprised of separate stages per package
that has tests included. Currently this consists of the state and config
packages.

Signed-off-by: Ava Affine <ava@sunnypup.io>
2024-11-14 09:57:06 -08:00

24 lines
317 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