summaryrefslogtreecommitdiff
path: root/test/utils
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2018-10-23 17:32:34 +0100
committerGitHub <noreply@github.com>2018-10-23 17:32:34 +0100
commitfb2e838a4202328ea6b1681f2f6e39c2d5f71748 (patch)
tree239f1c22df322728ecc782c58ce01e07bb03c1f2 /test/utils
parentf6ecdf0b871e413df416437be5bd226b445f676e (diff)
downloadansible-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-xtest/utils/shippable/shippable.sh3
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}"