Skip to content

Commit

Permalink
Add check to PR action
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Dec 20, 2024
1 parent d8afb14 commit 3beacbe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,13 @@ jobs:
run: pytest
- name: Test documentation builds
run: make documentation

- name: Check documentation build
run: |
for notebook in $(find docs/_build/jupyter_execute -name "*.ipynb"); do
if grep -q '"output_type": "error"' "$notebook"; then
echo "Error found in $notebook"
cat "$notebook"
exit 1
fi
done

0 comments on commit 3beacbe

Please sign in to comment.