From fb2e838a4202328ea6b1681f2f6e39c2d5f71748 Mon Sep 17 00:00:00 2001 From: John R Barker Date: Tue, 23 Oct 2018 17:32:34 +0100 Subject: [PATCH] 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 --- test/utils/shippable/shippable.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}"