This commit is contained in:
Sonny Bakker 2023-07-02 10:23:16 +02:00
parent 6b2c4996d5
commit 8e7b059ad3
97 changed files with 15077 additions and 6892 deletions

View file

@ -2,21 +2,17 @@ python-tests:
stage: test
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
services:
- postgres:11
- postgres:15
- memcached:1.5.22
image: python:3.7
image: python:3.9-bullseye
before_script:
- pip install poetry --quiet
- poetry config cache-dir .cache/poetry
- poetry config virtualenvs.in-project true
- poetry install --no-interaction --quiet --extras sentry
- pip install -r requirements/ci.txt
script:
- poetry run coverage run src/manage.py test newsreader
- poetry run coverage report
- coverage run ./src/manage.py test newsreader
javascript-tests:
stage: test
image: node:12
image: node:16-bullseye
before_script:
- npm install
script: