ci: add dedicated test stage

This commit is contained in:
nyan404 committed 2026-08-21 13:27:42 +03:00
1 parent 532b4c7710
commit 9022d3b06a
5 files changed
+35 -21

No files matched your search

+10
View File
@@ -1,4 +1,5 @@
stages:
- test
- build
- deploy
@@ -11,6 +12,15 @@ variables:
DOCKER_TLS_CERTDIR: ""
DOCKER_DRIVER: overlay2
test:
stage: test
image: python:3.12-slim
before_script:
- pip install --no-cache-dir -r requirements.txt
script:
- python -m compileall -q app tests
- python -m unittest discover -s tests -q
build:
stage: build
tags: