mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

Report build failure when code execution fails

Open brian-rose opened this issue 5 months ago • 2 comments

Proposal

Particularly for CI purposes, it would be great to have a version of

myst build --execute

that exits and reports failure if any code cells raise errors / exceptions (except those tagged with raises-exception).

I think this would be equivalent to

sphinx:
  config:
    nb_execution_raise_on_error:

in JupyterBook 1, which we have relied on for quality control in Project Pythia.

brian-rose avatar Jun 19 '25 02:06 brian-rose