From 7b913b9cf4ef844042ab6e69917e36d5a6daeec5 Mon Sep 17 00:00:00 2001 From: Julien Cohen-Adad Date: Sun, 27 Oct 2024 14:30:58 -0400 Subject: [PATCH] Update run_notebooks.yml Adding --allow-errors to nbconvert to get notebooks even if errors --- .github/workflows/run_notebooks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_notebooks.yml b/.github/workflows/run_notebooks.yml index afd6329..02f83ba 100644 --- a/.github/workflows/run_notebooks.yml +++ b/.github/workflows/run_notebooks.yml @@ -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