From 90b09b55eae9063fdc4519f2d3a69d67db2092f7 Mon Sep 17 00:00:00 2001 From: ricsik52 Date: Thu, 14 May 2020 21:21: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