Skip to content

Commit

Permalink
Add a retry to gdal http requests during CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Oct 3, 2024
1 parent 20ddc55 commit 1d6fd26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ extras =
setenv =
PIP_FIND_LINKS=https://girder.github.io/large_image_wheels
GDAL_PAM_ENABLED=no
GDAL_HTTP_MAX_RETRY=5
GDAL_HTTP_RETRY_DELAY=5

[testenv:test]
description = Run all tests, including Girder
Expand Down Expand Up @@ -52,6 +54,8 @@ setenv =
NPM_CONFIG_PREFER_OFFLINE=true
PIP_FIND_LINKS=https://girder.github.io/large_image_wheels
GDAL_PAM_ENABLED=no
GDAL_HTTP_MAX_RETRY=5
GDAL_HTTP_RETRY_DELAY=5

# Versions that do have all tile sources. Using the requirements-dev.txt file
# installs in editable mode, which then includes results in coverage.
Expand Down Expand Up @@ -105,6 +109,8 @@ setenv =
NPM_CONFIG_PREFER_OFFLINE=true
PIP_FIND_LINKS=https://girder.github.io/large_image_wheels
GDAL_PAM_ENABLED=no
GDAL_HTTP_MAX_RETRY=5
GDAL_HTTP_RETRY_DELAY=5

[testenv:server]
description = Run all tests except Girder client
Expand Down Expand Up @@ -161,6 +167,8 @@ commands =
setenv =
PIP_FIND_LINKS=https://girder.github.io/large_image_wheels
GDAL_PAM_ENABLED=no
GDAL_HTTP_MAX_RETRY=5
GDAL_HTTP_RETRY_DELAY=5
JUPYTER_PLATFORM_DIRS=1

[testenv:lint]
Expand Down Expand Up @@ -321,6 +329,8 @@ passenv = PIP_FIND_LINKS
setenv =
PIP_FIND_LINKS={env:PIP_FIND_LINKS:https://girder.github.io/large_image_wheels}
GDAL_PAM_ENABLED=no
GDAL_HTTP_MAX_RETRY=5
GDAL_HTTP_RETRY_DELAY=5
deps =
-rrequirements-test-core.txt
pooch
Expand Down

0 comments on commit 1d6fd26

Please sign in to comment.