Skip to content

Commit df1f43e

Browse files
committed
ci: codecov: use --retry-connrefused with curl
While it might not help with the following, it certainly might happen as well. ``` + curl -S -L --connect-timeout 5 --retry 6 -s https://codecov.io/bash -o codecov-upload.sh curl: (16) Error in the HTTP2 framing layer ```
1 parent b687f20 commit df1f43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/report-coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ python -m coverage combine
1414
python -m coverage xml
1515
python -m coverage report -m
1616
# 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
17+
curl -S -L --connect-timeout 5 --retry 6 --retry-connrefused -s https://codecov.io/bash -o codecov-upload.sh
1818
bash codecov-upload.sh -Z -X fix -f coverage.xml "$@"

0 commit comments

Comments
 (0)