-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The maps are now stored on S3, so caching isn't going to benefit much. Also, caching had not really been working reliably since we seem to be running up against storage limits due to our caching packages.
- Loading branch information
1 parent
a3424de
commit ff0a5a5
Showing
4 changed files
with
0 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,21 +62,6 @@ jobs: | |
- name: Install dependencies | ||
run: mamba install --quiet --yes --file ci/doc_requirements.txt --file ci/extra_requirements.txt --file ci/requirements.txt | ||
|
||
# This imports CartoPy to find its map data cache directory | ||
- name: Get CartoPy maps dir | ||
id: cartopy-cache | ||
run: echo "::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config["data_dir"])')" | ||
|
||
- name: Setup mapdata caching | ||
uses: actions/[email protected] | ||
env: | ||
# Increase to reset cache of map data | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ${{ steps.cartopy-cache.outputs.dir }} | ||
key: docs-cartopy-${{ env.CACHE_NUMBER }} | ||
restore-keys: docs-cartopy- | ||
|
||
- name: Install | ||
# For some reason on Windows 3.7 building the wheel fails to properly include our extra | ||
# stuff. Executing the egg_info beforehand for some reason fixes it. No idea why. We're | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,21 +79,6 @@ jobs: | |
python -m pip install -c ci/${{ matrix.dep-versions }} numpy | ||
python -m pip install -r ci/doc_requirements.txt -r ci/extra_requirements.txt -c ci/${{ matrix.dep-versions }} | ||
# This imports CartoPy to find its map data cache directory | ||
- name: Get CartoPy maps dir | ||
id: cartopy-cache | ||
run: echo "::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config["data_dir"])')" | ||
|
||
- name: Setup mapdata caching | ||
uses: actions/[email protected] | ||
env: | ||
# Increase to reset cache of map data | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ${{ steps.cartopy-cache.outputs.dir }} | ||
key: docs-cartopy-${{ env.CACHE_NUMBER }} | ||
restore-keys: docs-cartopy- | ||
|
||
- name: Install self | ||
run: python -m pip install -c ci/${{ matrix.dep-versions }} . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,21 +58,6 @@ jobs: | |
- name: Install dependencies | ||
run: mamba install --quiet --yes --file ci/test_requirements.txt --file ci/extra_requirements.txt --file ci/requirements.txt | ||
|
||
# This imports CartoPy to find its map data cache directory | ||
- name: Get CartoPy maps dir | ||
id: cartopy-cache | ||
run: echo "::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config["data_dir"])')" | ||
|
||
- name: Setup mapdata caching | ||
uses: actions/[email protected] | ||
env: | ||
# Increase to reset cache of map data | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ${{ steps.cartopy-cache.outputs.dir }} | ||
key: cartopy-${{ env.CACHE_NUMBER }} | ||
restore-keys: cartopy- | ||
|
||
- name: Install | ||
# For some reason on Windows 3.7 building the wheel fails to properly include our extra | ||
# stuff. Executing the egg_info beforehand for some reason fixes it. No idea why. We're | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,23 +94,6 @@ jobs: | |
- name: Install test dependencies | ||
run: python -m pip install -r ci/test_requirements.txt -c ci/${{ matrix.dep-versions }} | ||
|
||
# This imports CartoPy to find its map data cache directory | ||
- name: Get CartoPy maps dir | ||
if: ${{ matrix.no-extras != 'No Extras' }} | ||
id: cartopy-cache | ||
run: echo "::set-output name=dir::$(python -c 'import cartopy;print(cartopy.config["data_dir"])')" | ||
|
||
- name: Setup mapdata caching | ||
if: ${{ steps.cartopy-cache.outputs.dir != '' }} | ||
uses: actions/[email protected] | ||
env: | ||
# Increase to reset cache of map data | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ${{ steps.cartopy-cache.outputs.dir }} | ||
key: cartopy-${{ env.CACHE_NUMBER }} | ||
restore-keys: cartopy- | ||
|
||
- name: Install | ||
run: python -m pip install -c ci/${{ matrix.dep-versions }} . | ||
|
||
|