newsreader/gitlab-ci/test.yml
2023-07-02 10:23:16 +02:00

19 lines
391 B
YAML

python-tests:
stage: test
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
services:
- postgres:15
- memcached:1.5.22
image: python:3.9-bullseye
before_script:
- pip install -r requirements/ci.txt
script:
- coverage run ./src/manage.py test newsreader
javascript-tests:
stage: test
image: node:16-bullseye
before_script:
- npm install
script:
- npm test