From 65090493096e553ee59d5fb42ef2dc4a8eb8c4e0 Mon Sep 17 00:00:00 2001 From: ricsik52 Date: Thu, 14 May 2020 21:22:41 +0200 Subject: [PATCH] coverage --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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