From 025f4f25f254f3dcf580975964158652202b7054 Mon Sep 17 00:00:00 2001 From: Rosie Wood Date: Fri, 3 Jan 2025 11:04:37 +0000 Subject: [PATCH] Update check_notebooks.yml --- .github/workflows/check_notebooks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_notebooks.yml b/.github/workflows/check_notebooks.yml index 690c44d..d01cf6f 100644 --- a/.github/workflows/check_notebooks.yml +++ b/.github/workflows/check_notebooks.yml @@ -5,6 +5,7 @@ push: branches: - dev + - main schedule: - cron: 0 0 1 * * @@ -57,4 +58,4 @@ run: | find . -name "*.ipynb" -exec sed -Ei "s/num_epochs=.?.?/num_epochs=1/g" {} + find . -name "*.ipynb" -exec sed -i "s/annotator.annotate/#annotator.annotate/g" {} + - find . -name "*.ipynb" -print0 | xargs -0 -I {} -t bash -c 'papermill --cwd $(dirname {}) --log-output {} {} || exit 255' \ No newline at end of file + find . -name "*.ipynb" -print0 | xargs -0 -I {} -t bash -c 'papermill --cwd $(dirname {}) --log-output {} {} || exit 255'