mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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/
|
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…
Reference in a new issue