diff --git a/.github/workflows/test_book.yml b/.github/workflows/test_book.yml index fd366f86..a540dd19 100644 --- a/.github/workflows/test_book.yml +++ b/.github/workflows/test_book.yml @@ -27,13 +27,12 @@ jobs: run: | conda update -y -n base -c defaults conda conda --version - conda env create -f https://raw.githubusercontent.com/darribas/gds_env/master/gds_py/gds_py.yml - conda activate gds - pip install -r https://raw.githubusercontent.com/darribas/gds_env/master/gds_py/gds_py_pip.txt + conda env create -f ../infrastructure/book_stack.yml + conda activate gdsbook - name: Check and Log Environment shell: bash -l {0} run: | - conda activate gds + conda activate gdsbook conda info # Print conda list conda list @@ -42,5 +41,5 @@ jobs: shell: bash -l {0} continue-on-error: false run: | - conda activate gds + conda activate gdsbook make test diff --git a/infrastructure/book_stack.yml b/infrastructure/book_stack.yml new file mode 100644 index 00000000..348e28e4 --- /dev/null +++ b/infrastructure/book_stack.yml @@ -0,0 +1,20 @@ +name: gdsbook +channels: + - conda-forge +dependencies: + - cenpy + - contextily + - datashader + - geopandas + - ipython + - mapclassify + - myst-nb + - osmnx + - pandas + - pysal + - rasterio + - rioxarray + - scikit-learn + - seaborn + - shapely + - xarray