Skip to content

Commit 74ce280

Browse files
Backport PR #28065: CI: disable codecov (#28076)
1 parent b02be3d commit 74ce280

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ci/run_tests.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ do
5050
# if no tests are found (the case of "single and slow"), pytest exits with code 5, and would make the script fail, if not for the below code
5151
sh -c "$PYTEST_CMD; ret=\$?; [ \$ret = 5 ] && exit 0 || exit \$ret"
5252

53-
if [[ "$COVERAGE" && $? == 0 ]]; then
54-
echo "uploading coverage for $TYPE tests"
55-
echo "bash <(curl -s https://codecov.io/bash) -Z -c -F $TYPE -f $COVERAGE_FNAME"
56-
bash <(curl -s https://codecov.io/bash) -Z -c -F $TYPE -f $COVERAGE_FNAME
57-
fi
53+
# 2019-08-21 disabling because this is hitting HTTP 400 errors GH#27602
54+
# if [[ "$COVERAGE" && $? == 0 && "$TRAVIS_BRANCH" == "master" ]]; then
55+
# echo "uploading coverage for $TYPE tests"
56+
# echo "bash <(curl -s https://codecov.io/bash) -Z -c -F $TYPE -f $COVERAGE_FNAME"
57+
# bash <(curl -s https://codecov.io/bash) -Z -c -F $TYPE -f $COVERAGE_FNAME
58+
# fi
5859
done

0 commit comments

Comments
 (0)