jupyter-book CLI failure on notebook execution error? #892
Unanswered
brian-rose
asked this question in
Q&A
Replies: 2 comments
-
Heya, just n the latest myst-nb there is the config |
Beta Was this translation helpful? Give feedback.
0 replies
-
@chrisjsewell fantastic, that seems to be just what I need! So to pass this through via
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
At Project Pythia we are working on integrating JupyterBook with a CI system for regular health-checking of notebook-based content.
For this purpose, it would be really useful to have
jupyter-book build
report a failure if an execution error is encountered in a notebook. Is there a way to enforce this?I'm aware of the
--warningiserror
option in the docs here, and that accomplishes the goal of failing on notebook execution error. But the problem is that it will also fail for other reasons unrelated to code in the notebooks.Is there a more fine-grained way of setting the fail condition for
jupyter-book build
?Beta Was this translation helpful? Give feedback.
All reactions