Call coverage xml manually before codecov
This commit is contained in:
parent
45a646bcd2
commit
52c2718dcb
|
@ -28,9 +28,10 @@ script:
|
|||
|
||||
|
||||
before_install:
|
||||
- pip install codecov
|
||||
- pip install codecov coverage
|
||||
|
||||
|
||||
after_success:
|
||||
- tox -e coverage-report
|
||||
- COVERAGE_FILE=.tox/.coverage codecov
|
||||
- COVERAGE_FILE=.tox/.coverage coverage xml
|
||||
- codecov -f coverage.xml
|
||||
|
|
|
@ -37,10 +37,11 @@ on_success:
|
|||
# Report coverage results to codecov.io
|
||||
# and export tox environment variables
|
||||
- "%PYTHON%/Scripts/tox -e coverage-report"
|
||||
- "%PYTHON%/Scripts/pip install codecov"
|
||||
- set OS=WINDOWS
|
||||
- "%PYTHON%/Scripts/pip install codecov coverage"
|
||||
- set COVERAGE_FILE=.tox/.coverage
|
||||
- "%PYTHON%/Scripts/codecov -e TOX_ENV OS"
|
||||
- "%PYTHON%/Scripts/coverage xml"
|
||||
- set OS=WINDOWS
|
||||
- "%PYTHON%/Scripts/codecov -f coverage.xml -e TOX_ENV OS"
|
||||
|
||||
artifacts:
|
||||
- path: dist\*
|
||||
|
|
Loading…
Reference in New Issue