This commit is contained in:
parent
35bd1245c9
commit
6509049309
@ -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' -r requirements.txt
|
||||||
|
- pip3 install --cache-dir='./.pipcache' coverage pytest
|
||||||
|
- coverage run -m pytest test.py
|
||||||
|
- coverage report -m
|
||||||
|
|
||||||
- name: rebuild-cache-with-filesystem
|
- name: rebuild-cache-with-filesystem
|
||||||
image: meltwater/drone-cache
|
image: meltwater/drone-cache
|
||||||
|
Reference in New Issue
Block a user