Skip to content

Commit

Permalink
test notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gboeing committed Jan 19, 2021
1 parent b84a32c commit bab2abc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [ubuntu-latest]

defaults:
run:
Expand Down Expand Up @@ -48,4 +48,12 @@ jobs:
run: |
conda list
conda info --all
ipython -c "import osmnx; print('OSMnx version', osmnx.__version__)"
ipython -c "import igraph, osmnx; print('OSMnx version', osmnx.__version__)"
- name: Test notebooks
run: |
cd ./notebooks
rm -r -f *.py
jupyter nbconvert --to python *.ipynb
for f in *.py; do ipython "$f"; done
rm -r -f *.py

0 comments on commit bab2abc

Please sign in to comment.