-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump python versions * fix test * update ci envs and tutorial * fix docs warnings and readme * fix ci upstream env * speed up CI with caching, mamba * ignore lack of PDF driver Co-authored-by: Scott Henderson <[email protected]>
- Loading branch information
Showing
14 changed files
with
108 additions
and
140 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 |
---|---|---|
|
@@ -28,7 +28,7 @@ dependencies: | |
- panel | ||
- pip | ||
- pyproj | ||
- python=3.8 | ||
- python=3.9 | ||
- pyyaml | ||
- pystac | ||
- pytest | ||
|
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 |
---|---|---|
|
@@ -13,18 +13,35 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
CONDA_ENV: [3.7, 3.8, 3.9, upstream] | ||
CONDA_ENV: ["3.8", "3.9", "3.10", "upstream"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Miniconda | ||
- name: Cache Conda Packages | ||
uses: actions/cache@v3 | ||
env: | ||
# Increase this value to reset cache if etc/example-environment.yml has not changed | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ~/conda_pkgs_dir | ||
key: conda-${{ env.CACHE_NUMBER }}-${{hashFiles(format('ci/environment-{0}.yml',matrix.CONDA_ENV)) }} | ||
|
||
- name: Cache Pip Packages (upstream environment) | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('ci/environment-upstream.yml') }} | ||
|
||
- name: Setup Miniconda (Mambaforge) | ||
uses: conda-incubator/[email protected] | ||
with: | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
miniforge-variant: Mambaforge | ||
miniforge-version: latest | ||
use-mamba: true | ||
activate-environment: intake-stac | ||
environment-file: ci/environment-${{ matrix.CONDA_ENV }}.yml | ||
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly! | ||
|
||
- name: Development Install Intake-STAC | ||
shell: bash -l {0} | ||
|
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
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
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
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 |
---|---|---|
@@ -1,43 +1,53 @@ | ||
# everything except jupyterlab and plotting libraries | ||
# Intake GUI also requires jupyterlab extensions installed | ||
# conda env create -f ci/environment-dev.yml | ||
# conda activate intake-stac-dev | ||
name: intake-stac-dev | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.7 | ||
- python | ||
- aiohttp | ||
- autopep8 | ||
- black | ||
- boto3 | ||
- codecov | ||
- coverage | ||
- dask | ||
- datashader | ||
- distributed | ||
- flake8 | ||
- geopandas | ||
- geoviews | ||
- hvplot | ||
- intake | ||
- intake-geopandas | ||
- intake-parquet | ||
- intake-xarray | ||
- ipykernel | ||
- ipywidgets | ||
- isort | ||
- jupyterlab | ||
- make | ||
- matplotlib | ||
- nbsphinx | ||
- netcdf4 | ||
- numpy | ||
- numpydoc | ||
- pandoc | ||
- panel | ||
- pip | ||
- pre_commit | ||
- pystac | ||
- pystac-client | ||
- pytest | ||
- pytest-cov | ||
- pytoml | ||
- pyyaml | ||
- rasterio | ||
- recommonmark | ||
- requests | ||
- sat-search>=0.3 | ||
- scikit-image | ||
- sphinx-copybutton | ||
- sphinx_rtd_theme | ||
- sphinx>=1.6 | ||
- sphinx >=1.6 | ||
- xarray |
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.