Avoid sending empty reports to codecov (#12293)
Before this commit we were sending reports also for unit tests that were not collecting coverage data.
This commit is contained in:
parent
cb7e9c155e
commit
ae975c48ac
@ -200,9 +200,11 @@ after_success:
|
|||||||
- ccache -s
|
- ccache -s
|
||||||
- case "$TEST_SUITE" in
|
- case "$TEST_SUITE" in
|
||||||
unit)
|
unit)
|
||||||
codecov --env PYTHON_VERSION
|
if [[ "$COVERAGE" == "true" ]]; then
|
||||||
--required
|
codecov --env PYTHON_VERSION
|
||||||
--flags "${TEST_SUITE}${TRAVIS_OS_NAME}";
|
--required
|
||||||
|
--flags "${TEST_SUITE}${TRAVIS_OS_NAME}";
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user