pysal / geopyter

GeoPyTeR: Geographical Python Teaching Resource
68 stars 17 forks source link

Setup testing infrastructure #19

Open sjsrey opened 7 years ago

sjsrey commented 7 years ago

Use travis for testing on changes to the atoms/content

Set up nightly testing to capture bugs induced by library version bumps

sjsrey commented 7 years ago

Look into automated testing of notebooks following this logic

and nbconvert approach

sjsrey commented 7 years ago

Testing locally, example

jupyter nbconvert --to=html --ExecutePreprocessor.enabled=True choropleth_classification.ipynb

Should generate:

[NbConvertApp] Converting notebook choropleth_classification.ipynb to html
[NbConvertApp] Executing notebook with kernel: python2
[NbConvertApp] Writing 453224 bytes to choropleth_classification.html
sjsrey commented 7 years ago

Working example of local tests here.