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