From a1349e3d9a88eeee8c0d0f57df29836b679ef40a Mon Sep 17 00:00:00 2001 From: zsimjee Date: Mon, 4 Dec 2023 13:45:49 -0800 Subject: [PATCH] ignore llamaindex notebook --- .github/workflows/scripts/run_notebooks.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/run_notebooks.sh b/.github/workflows/scripts/run_notebooks.sh index 3d7bd6fea..6eca25dfa 100755 --- a/.github/workflows/scripts/run_notebooks.sh +++ b/.github/workflows/scripts/run_notebooks.sh @@ -9,7 +9,8 @@ cd docs/examples # Function to process a notebook process_notebook() { notebook="$1" - if [ "$notebook" != "valid_chess_moves.ipynb" ] && [ "$notebook" != "translation_with_quality_check.ipynb" ]; then + invalid_notebooks=("valid_chess_moves.ipynb" "translation_with_quality_check.ipynb" "llamaindex-output-parsing.ipynb") + if [[ ! " ${invalid_notebooks[@]} " =~ " ${notebook} " ]]; then echo "Processing $notebook..." poetry run jupyter nbconvert --to notebook --execute "$notebook" if [ $? -ne 0 ]; then