Update gitlab jobs
This commit is contained in:
parent
20309e70fa
commit
9d05cac15c
3 changed files with 12 additions and 19 deletions
|
|
@ -4,20 +4,16 @@ python-tests:
|
|||
services:
|
||||
- postgres:11
|
||||
- memcached:1.5.22
|
||||
image: python:3.7
|
||||
image: python:3.9-bullseye
|
||||
before_script:
|
||||
- pip install poetry --quiet
|
||||
- poetry --version
|
||||
- poetry config cache-dir .cache/poetry
|
||||
- poetry config virtualenvs.in-project true
|
||||
- poetry install --no-interaction --extras sentry
|
||||
- pip install -r requirements/production.txt -r requirements/development.txt
|
||||
script:
|
||||
- poetry run coverage run src/manage.py test newsreader
|
||||
- poetry run coverage report
|
||||
- ./src/manage.py test newsreader
|
||||
- coverage report
|
||||
|
||||
javascript-tests:
|
||||
stage: test
|
||||
image: node:12
|
||||
image: node:12-bullseye
|
||||
before_script:
|
||||
- npm install
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue