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
This commit is contained in:
parent
e1218ca10f
commit
7ec82cdfc9
1 changed files with 1 additions and 2 deletions
|
@ -86,8 +86,7 @@ function cleanup
|
|||
cp -a test/results/reports/coverage=*.xml shippable/codecoverage/
|
||||
|
||||
# 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}" == "" ] && [[ "$T" =~ /1$ ]] ; then
|
||||
if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ]; then
|
||||
for file in test/results/reports/coverage=*.xml; do
|
||||
flags="${file##*/coverage=}"
|
||||
flags="${flags%.xml}"
|
||||
|
|
Loading…
Reference in a new issue