Skip to content

Commit

Permalink
Update run_notebooks.yml
Browse files Browse the repository at this point in the history
Adding --allow-errors to nbconvert to get notebooks even if errors
  • Loading branch information
jcohenadad authored Oct 27, 2024
1 parent 39286c7 commit 7b913b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
mkdir -p executed_notebooks
for notebook in $(find . -name "*.ipynb"); do
echo "Executing $notebook"
jupyter nbconvert --to notebook --execute --inplace \
jupyter nbconvert --to notebook --execute --allow-errors --inplace \
--output executed_notebooks/$(basename $notebook) $notebook \
2>&1 | tee -a notebook_execution.log || echo "Execution failed for $notebook"
done
Expand Down

0 comments on commit 7b913b9

Please sign in to comment.