-
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.
STAC 1.0 compatibility, release 0.3.0 (#61)
* fix tutorial code blocks and tests * update changelog and readme * dont fail fast on matrix test for py versions * use fsspec master on upstream test environment * use setup miniconda action * set driver to rasterio by default, move driver dictionary * simplfy CI environments, move driver mapping to top of catalog.py * try conda env for readthedocs
- Loading branch information
Showing
22 changed files
with
373 additions
and
359 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 |
---|---|---|
|
@@ -15,26 +15,33 @@ jobs: | |
- uses: pre-commit/[email protected] | ||
|
||
test: | ||
name: ${{ matrix.CONDA_ENV }}-build | ||
name: ${{ matrix.CONDA_ENV }}-test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
CONDA_ENV: [3.6, 3.7, 3.7-upstream, 3.8] | ||
CONDA_ENV: [3.6, 3.7, 3.8, 3.9, upstream] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Miniconda | ||
uses: conda-incubator/setup-miniconda@v1 | ||
with: | ||
auto-update-conda: true | ||
auto-activate-base: false | ||
activate-environment: intake-stac | ||
environment-file: ci/environment-${{ matrix.CONDA_ENV }}.yml | ||
|
||
- name: Setup conda environment | ||
- name: Development Install Intake-STAC | ||
shell: bash -l {0} | ||
run: | | ||
export PATH="/usr/share/miniconda/bin:$PATH" | ||
conda env create -n test_env --file ci/environment-dev-${{ matrix.CONDA_ENV }}.yml --quiet | ||
source activate test_env | ||
python -m pip install --no-deps -e . | ||
conda list | ||
- name: Running Tests | ||
- name: Run Tests | ||
shell: bash -l {0} | ||
run: | | ||
export PATH="/usr/share/miniconda/bin:$PATH" | ||
source activate test_env | ||
pytest --verbose --junitxml=test-reports/junit.xml --cov=intake_stac --cov-config ci/.coveragerc --cov-report term-missing | ||
- name: Upload coverage to Codecov | ||
|
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: intake-stac | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.6 | ||
- fsspec | ||
- geopandas | ||
- intake | ||
- intake-xarray | ||
- pytest-cov | ||
- rasterio | ||
- sat-stac | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: intake-stac | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.7 | ||
- fsspec | ||
- geopandas | ||
- intake | ||
- intake-xarray | ||
- pytest-cov | ||
- rasterio | ||
- sat-stac | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: intake-stac | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.8 | ||
- fsspec | ||
- geopandas | ||
- intake | ||
- intake-xarray | ||
- pytest-cov | ||
- rasterio | ||
- sat-stac | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: intake-stac | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.9 | ||
- fsspec | ||
- geopandas | ||
- intake | ||
- intake-xarray | ||
- pytest-cov | ||
- rasterio | ||
- sat-stac | ||
- xarray |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#readthedocs uses defaults rather than conda-forge | ||
name: intake-stac | ||
channels: | ||
- defaults | ||
dependencies: | ||
- python=3.7 | ||
- aiohttp | ||
- fsspec | ||
- geopandas | ||
- intake | ||
- intake-xarray | ||
- ipython | ||
- mock | ||
- numpydoc | ||
- pillow | ||
- pip | ||
- pytest-cov | ||
- rasterio | ||
- scikit-image | ||
- sphinx | ||
- sphinx_rtd_theme | ||
- xarray | ||
- pip: | ||
- nbsphinx | ||
- sat-search | ||
- sat-stac | ||
- .. #installs intake-stac from root folder |
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
38 changes: 7 additions & 31 deletions
38
ci/environment-dev-3.7-upstream.yml → ci/environment-upstream.yml
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.
Oops, something went wrong.