diff --git a/.drone.yml b/.drone.yml index a53b9aa..56f00cd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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' -r requirements.txt + - pip3 install --cache-dir='./.pipcache' coverage pytest + - coverage run -m pytest test.py + - coverage report -m - name: rebuild-cache-with-filesystem image: meltwater/drone-cache