- Update logging
- Update FeedDuplicateHandler
This commit is contained in:
sonny 2020-06-18 20:29:48 +02:00
parent 00f6427c57
commit 2be35bce53
7 changed files with 280 additions and 171 deletions

View file

@ -3,10 +3,10 @@ python-linting:
allow_failure: true
image: python:3.7.4-slim-stretch
before_script:
- pip install poetry
- pip install poetry --quiet
- poetry config cache-dir ~/.cache/poetry
- poetry config virtualenvs.in-project true
- poetry install --no-interaction
- poetry install --no-interaction --quiet
script:
- poetry run isort src/ --check-only --recursive
- poetry run black src/ --line-length 88 --check

View file

@ -6,10 +6,10 @@ python-tests:
- memcached:1.5.22
image: python:3.7.4-slim-stretch
before_script:
- pip install poetry
- pip install poetry --quiet
- poetry config cache-dir .cache/poetry
- poetry config virtualenvs.in-project true
- poetry install --no-interaction
- poetry install --no-interaction --quiet
script:
- poetry run coverage run src/manage.py test newsreader
- poetry run coverage report