coverage
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
957227b715
commit
32f104df7c
|
@ -0,0 +1,2 @@
|
||||||
|
[run]
|
||||||
|
omit=venv/*
|
|
@ -35,6 +35,15 @@ steps:
|
||||||
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
|
- pip3 install --cache-dir='./.pipcache' -r requirements.txt
|
||||||
- pytest test.py
|
- 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
|
- name: integration_test
|
||||||
image: python:3.8
|
image: python:3.8
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -131,3 +131,4 @@ dmypy.json
|
||||||
#Pycharm
|
#Pycharm
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
|
.coverage
|
Reference in New Issue