Skip to content

Commit

Permalink
Add yaml file to setup nightly testing infrastructure (#308)
Browse files Browse the repository at this point in the history
* start the book stack

* update nightly testing infrastructure

* fix myst_nb to myst-nb
  • Loading branch information
ljwolf authored Oct 13, 2023
1 parent eab34ef commit 9a8b1f6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -42,5 +41,5 @@ jobs:
shell: bash -l {0}
continue-on-error: false
run: |
conda activate gds
conda activate gdsbook
make test
20 changes: 20 additions & 0 deletions infrastructure/book_stack.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9a8b1f6

Please sign in to comment.