File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ commands =
6262 # sed -i needs a bit of hacky conditional on ubuntu to cover the case of an empty ignore
6363 buildhtml: bash -c " find tutorials -name '*md' | grep -f ignore_testing | sort | uniq > ignore_execute; if [ -s ignore_execute ]; then cat ignore_execute | xargs -n 1 sed -i -e 's|name: python3|name: python3\nskip_execution: true|g';fi"
6464
65-
66- buildhtml: jupyter-book build --execute --html
65+ # Status check is a workaround until https://github.com/jupyter-book/mystmd/issues/2113 is fixed
66+ buildhtml: bash -c " jupyter-book build --execute --html 2>&1 | tee /tmp/mystbuild.log"
67+ buildhtml: bash -c " if grep -q 'Traceback .most recent call last.' /tmp/mystbuild.log; then exit 1; fi"
6768 buildhtml: bash -c " rm _build/html/*thebe*.js"
6869
6970pip_pre =
You can’t perform that action at this time.
0 commit comments