From 1269190bfffe0069aa10c1a280d9be1fed01889e Mon Sep 17 00:00:00 2001 From: snowman2 Date: Fri, 26 Feb 2021 13:34:20 -0600 Subject: [PATCH] CI: Use nightly numpy, pandas, scipy builds --- .github/workflows/tests.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a58df650..0627d2aa 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -77,7 +77,7 @@ jobs: test_latest: needs: linting - name: Test latest xarray, rasterio, pyproj dependencies + name: Test dependencies runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -92,11 +92,22 @@ jobs: - name: Install Env shell: bash run: | - conda create -n test python=3.8 proj libgdal cython pandas scipy netcdf4 dask pandoc + conda create -n test python=3.8 proj libgdal cython netcdf4 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 \ + --extra-index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple/ \ + --trusted-host pypi.anaconda.org + --no-deps --pre --upgrade \ + numpy \ + pandas \ + scipy; + python -m pip install \ + --no-deps --upgrade \ + git+https://github.com/dask/dask.git@master \ + git+https://github.com/dask/distributed.git@master \ + git+https://github.com/mapbox/rasterio.git@master \ + git+https://github.com/pyproj4/pyproj.git@master \ + git+https://github.com/pydata/xarray.git@master; python -m pip install -e .[all] - name: Check and Log Environment