combine coverage data befor upload to codecov

This commit is contained in:
Robert Kaussow 2019-03-25 11:02:10 +01:00
parent c5a5d98d0a
commit 0c3f366590
2 changed files with 4 additions and 2 deletions

View File

@ -68,7 +68,8 @@ local PipelineTesting = {
}, },
commands: [ commands: [
"pip install codecov", "pip install codecov",
"codecov" "coverage combine .tox/py*/.coverage",
"codecov --required"
], ],
depends_on: [ depends_on: [
"python2.7-ansible", "python2.7-ansible",

View File

@ -80,7 +80,8 @@ steps:
image: python:3.7 image: python:3.7
commands: commands:
- pip install codecov - pip install codecov
- codecov - "coverage combine .tox/py*/.coverage"
- codecov --required
environment: environment:
CODECOV_TOKEN: CODECOV_TOKEN:
from_secret: codecov_token from_secret: codecov_token