ci: coverage: remove --ignore-errors

This should not be necessary (anymore).
This commit is contained in:
Daniel Hahler 2019-02-27 08:44:11 +01:00
parent b5cf61312b
commit 0138e9cbb0
2 changed files with 4 additions and 4 deletions

View File

@ -103,8 +103,8 @@ after_success:
# Add last TOXENV to $PATH. # Add last TOXENV to $PATH.
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH" PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH"
coverage combine coverage combine
coverage xml --ignore-errors coverage xml
coverage report -m --ignore-errors coverage report -m
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F $TRAVIS_OS_NAME bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F $TRAVIS_OS_NAME
fi fi

View File

@ -8,8 +8,8 @@ if "%PYTEST_COVERAGE%" == "1" (
) )
python -m pip install codecov python -m pip install codecov
coverage combine coverage combine
coverage xml --ignore-errors coverage xml
coverage report -m --ignore-errors coverage report -m
scripts\retry codecov --required -X gcov pycov search -f coverage.xml --flags windows scripts\retry codecov --required -X gcov pycov search -f coverage.xml --flags windows
) else ( ) else (
echo Skipping coverage upload, PYTEST_COVERAGE=%PYTEST_COVERAGE% echo Skipping coverage upload, PYTEST_COVERAGE=%PYTEST_COVERAGE%