Celery integration

This commit is contained in:
Sonny 2019-07-14 18:44:15 +02:00
parent 1b774a7208
commit a74ffae9a7
64 changed files with 829 additions and 221 deletions

View file

@ -10,6 +10,7 @@ python tests:
stage: test
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
DJANGO_SETTINGS_MODULE: "newsreader.conf.gitlab"
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
@ -20,6 +21,6 @@ python tests:
- source env/bin/activate
- pip install -r requirements/gitlab.txt
script:
- python src/manage.py test newsreader --settings=newsreader.conf.gitlab
- python src/manage.py test newsreader
- isort -rc src/ --check-only
- black -l 100 --check src/
- black -l 90 --check src/