Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up CI and run nbval on notebooks #1

Open
fangohr opened this issue Oct 28, 2020 · 1 comment
Open

Set up CI and run nbval on notebooks #1

fangohr opened this issue Oct 28, 2020 · 1 comment
Assignees

Comments

@fangohr
Copy link
Member

fangohr commented Oct 28, 2020

Purpose: check that notebooks on binder will execute correctly.

In principle this should happen automatically if we always sync from oscovida/tools/pelican/content/ipynb, but

(i) this is a manual process and we may forget and

(ii) we also need to make sure the notebooks in here work with the requirements.txt we define for this binder environment.

Example command:

cd ipynb && py.test --nbval-lax 20*ipynb 14*ipynb tu*ipynb 
cd ipynb && Germany.ipynb US-California.ipynb Hungary-Baranya.ipynb Germany-Hamburg-SK-Hamburg.ipynb 

(We don't want to run all of the notebooks for all regions as this would take too much time.)

@fangohr
Copy link
Member Author

fangohr commented Oct 28, 2020

Addition: also the syncing of the 'normal' notebooks (such as German.ipynb) doesn't happen automatically, so we need to check they work as well. (At the moment, they don't ;-)).

@RobertRosca RobertRosca self-assigned this Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants