Skip to content

Commit cfe9dd6

Browse files
authored
convert to ipynb before pre-commit (#119)
1 parent 991e83d commit cfe9dd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/notebooks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
- name: Lint with precommit
4444
run: |
4545
pip install pre-commit
46+
find content/ -name "*.md" -exec jupytext --to notebook {} \;
47+
# pre-commit wants files to be staged
48+
find content/ -name "*.ipynb" -exec git add {} \;
4649
pre-commit run --all-files --show-diff-on-failure --color always
4750
4851
- name: Test with nbval

0 commit comments

Comments
 (0)