Skip to content

add config to raise error when (any) notebook execution fails #248

@poldrack

Description

@poldrack

Is your feature request related to a problem? Please describe.
When I try to build my book using Github actions, there is no way to specifically cause the build to return an error when a notebook fails to execute. The -W flag would achieve this, but it also would error out for other warnings (e.g. those about heading levels) that are not fatal.

Describe the solution you'd like
Either add a flag that causes jb build to raise an error when any of the notebooks fail to properly execute, or (preferably) change the default behavior so that the build fails whenever a notebook fails to execute. The latter is what I would have expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions