20 lines
393 B
YAML
20 lines
393 B
YAML
stages:
|
|
- verify
|
|
- build
|
|
|
|
backend_verify:
|
|
stage: verify
|
|
image: python:3.12-slim
|
|
script:
|
|
- pip install --no-cache-dir -r backend/requirements.txt pytest
|
|
- PYTHONPATH=backend python -m compileall -q backend/app
|
|
- PYTHONPATH=backend pytest -q backend/tests
|
|
|
|
frontend_build:
|
|
stage: build
|
|
image: node:20-alpine
|
|
script:
|
|
- cd frontend
|
|
- npm ci
|
|
- npm run build
|