Skip to content
Snippets Groups Projects
Commit ae975c48 authored by Massimiliano Culpo's avatar Massimiliano Culpo Committed by Greg Becker
Browse files

Avoid sending empty reports to codecov (#12293)

Before this commit we were sending reports also for unit tests that
were not collecting coverage data.
parent cb7e9c15
Branches
Tags
No related merge requests found
......@@ -200,9 +200,11 @@ after_success:
- ccache -s
- case "$TEST_SUITE" in
unit)
codecov --env PYTHON_VERSION
--required
--flags "${TEST_SUITE}${TRAVIS_OS_NAME}";
if [[ "$COVERAGE" == "true" ]]; then
codecov --env PYTHON_VERSION
--required
--flags "${TEST_SUITE}${TRAVIS_OS_NAME}";
fi
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment