Skip to content

Commit

Permalink
Update check_notebooks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 authored Jan 3, 2025
1 parent 4e73432 commit 025f4f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
push:
branches:
- dev
- main
schedule:
- cron: 0 0 1 * *

Expand Down Expand Up @@ -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'
find . -name "*.ipynb" -print0 | xargs -0 -I {} -t bash -c 'papermill --cwd $(dirname {}) --log-output {} {} || exit 255'

0 comments on commit 025f4f2

Please sign in to comment.