-
Notifications
You must be signed in to change notification settings - Fork 170
Create test that runs the notebooks once every month #16
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
Conversation
|
Okay I tweaked this PR and now all notebooks are updated and tested. Also running the test on the first day of the month works. |
|
Thanks, @martinvonk ! |
|
Ready to go? |
|
Yes ready to go now. All tests pass :) |
|
How do you run a test on notebooks7_bugs? A this notebook throws a bunch or errors.... (and it should!) |
In pytest you can run something and check if errors are raises with: with pytest.raises(Exception):
run_bugs_notebook()and then the tests pass only if an Exception is raised. |
Allright I did a few things:
_sol. This can also be run locally viapytest .github/workflows/test_notebooks.py