Skip to content

Commit

Permalink
CI: Test build with latest xarray, rasterio, pyproj dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Feb 26, 2021
1 parent 63ce87f commit 0b9d65f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,42 @@ jobs:
sphinx-build -b html docs/ docs/_build/
- uses: codecov/codecov-action@v1


test_latest:
needs: linting
name: Test latest xarray, rasterio, pyproj dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: false
python-version: 3.8
conda-channels: conda-forge

- name: Install Env
shell: bash
run: |
conda create -n test python=3.8 proj libgdal cython pandas scipy netcdf4 dask pandoc
source activate test
python -m pip install git+https://github.com/mapbox/rasterio.git@master
python -m pip install git+https://github.com/pyproj4/pyproj.git@master
python -m pip install git+https://github.com/pydata/xarray.git@master
python -m pip install -e .[all]
- name: Check and Log Environment
shell: bash
run: |
source activate test
python -V
python -c "import rioxarray; rioxarray.show_versions();"
conda info
- name: Test
shell: bash
run: |
source activate test
py.test --cov-report term-missing --cov=rioxarray --cov-report xml

0 comments on commit 0b9d65f

Please sign in to comment.