From 0c3f366590a7f629d4372ca5bcc39a2801c56734 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 Mar 2019 11:02:10 +0100 Subject: [PATCH] combine coverage data befor upload to codecov --- .drone.jsonnet | 3 ++- .drone.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index db0e5a5..169f6c8 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -68,7 +68,8 @@ local PipelineTesting = { }, commands: [ "pip install codecov", - "codecov" + "coverage combine .tox/py*/.coverage", + "codecov --required" ], depends_on: [ "python2.7-ansible", diff --git a/.drone.yml b/.drone.yml index e8f7337..1510271 100644 --- a/.drone.yml +++ b/.drone.yml @@ -80,7 +80,8 @@ steps: image: python:3.7 commands: - pip install codecov - - codecov + - "coverage combine .tox/py*/.coverage" + - codecov --required environment: CODECOV_TOKEN: from_secret: codecov_token