Skip to content

Commit 1555973

Browse files
authored
Workaround curl bug which makes retries of fetching codecov.io/… (#5951)
Workaround curl bug which makes retries of fetching codecov.io/bash not work
2 parents 3322c1e + 7678f89 commit 1555973

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/report-coverage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ fi
1313
python -m coverage combine
1414
python -m coverage xml
1515
python -m coverage report -m
16-
curl -S -L --retry 6 -s https://codecov.io/bash -o codecov-upload.sh
16+
# Set --connect-timeout to work around https://github.com/curl/curl/issues/4461
17+
curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh
1718
bash codecov-upload.sh -Z -X fix -f coverage.xml

0 commit comments

Comments
 (0)