diff options
author | John R Barker <john@johnrbarker.com> | 2018-10-23 17:32:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-23 17:32:34 +0100 |
commit | fb2e838a4202328ea6b1681f2f6e39c2d5f71748 (patch) | |
tree | 239f1c22df322728ecc782c58ce01e07bb03c1f2 /test/utils | |
parent | f6ecdf0b871e413df416437be5bd226b445f676e (diff) | |
download | ansible-fb2e838a4202328ea6b1681f2f6e39c2d5f71748.tar.gz |
TEMP HACK: Avoid overloading codecov.io (#47515)
Without this patch we are overloading codecov.io by uploading 90+ tests.
As a workaround limit uploading to only "Group 1"
Will be removed/updated based on codecov.io's support team
Diffstat (limited to 'test/utils')
-rwxr-xr-x | test/utils/shippable/shippable.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils/shippable/shippable.sh b/test/utils/shippable/shippable.sh index bf31da0643..9d5668efe0 100755 --- a/test/utils/shippable/shippable.sh +++ b/test/utils/shippable/shippable.sh @@ -86,7 +86,8 @@ function cleanup cp -a test/results/reports/coverage=*.xml shippable/codecoverage/ # upload coverage report to codecov.io only when using complete on-demand coverage - if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ]; then + # HACK: Only upload certain results to codecov to avoid overloading it + if [ "${COVERAGE}" ] && [ "${CHANGED}" == "" ] && [[ "$T" =~ /1$ ]] ; then for file in test/results/reports/coverage=*.xml; do flags="${file##*/coverage=}" flags="${flags%.xml}" |