coverage
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Kocsis Richárd 2020-05-14 20:46:34 +02:00
parent 957227b715
commit 32f104df7c
3 changed files with 12 additions and 0 deletions

2
.coveragerc Normal file
View File

@ -0,0 +1,2 @@
[run]
omit=venv/*

View File

@ -35,6 +35,15 @@ steps:
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
- pytest test.py
- name: coverage
image: python:3.8
environment:
PRODUCER_REDIS: cache
commands:
- pip3 install --cache-dir='./.pipcache' coverage
- coverage run -m pytest test.py
- coverage report -m
- name: integration_test
image: python:3.8
environment:

1
.gitignore vendored
View File

@ -131,3 +131,4 @@ dmypy.json
#Pycharm
.idea/
*.iml
.coverage