Revert TEMP HACK: Upload all to codecov (#50279)

Codecov.io have made some improvements to results processing.
Upload all the coverage data to see is codecov can process this.

Reverts https://github.com/ansible/ansible/pull/47515
pull/50284/head
John R Barker 6 years ago committed by GitHub
parent e1218ca10f
commit 7ec82cdfc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,8 +86,7 @@ function cleanup
cp -a test/results/reports/coverage=*.xml shippable/codecoverage/ cp -a test/results/reports/coverage=*.xml shippable/codecoverage/
# upload coverage report to codecov.io only when using complete on-demand coverage # upload coverage report to codecov.io only when using complete on-demand coverage
# HACK: Only upload certain results to codecov to avoid overloading it if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ]; then
if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ] && [[ "$T" =~ /1$ ]] ; then
for file in test/results/reports/coverage=*.xml; do for file in test/results/reports/coverage=*.xml; do
flags="${file##*/coverage=}" flags="${file##*/coverage=}"
flags="${flags%.xml}" flags="${flags%.xml}"

Loading…
Cancel
Save