newsreader/gitlab-ci/test.yml

20 lines
408 B
YAML

python-tests:
stage: test
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
services:
- postgres:15
- memcached:1.5.22
image: python:3.11
before_script:
- pip install uv
- uv sync --extra testing --extra ci
script:
- ./.venv/bin/coverage run ./src/manage.py test newsreader
javascript-tests:
stage: test
image: node:lts
before_script:
- npm install
script:
- npm test