Skip to content

Commit

Permalink
ci(update): fail if tracebacks found (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Jan 7, 2025
1 parent 5139955 commit da0283b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ jobs:
--output=index \
./notebook/dashboard.ipynb
- name: Check notebook for tracebacks
run: |
cat ./gh-pages/index.html
echo "---"
echo "Checking for tracebacks..."
grep -i -E 'Traceback (most recent call last):' ./gh-pages/index.html && exit 1 || true
- name: Archive gh-pages
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
shell: bash
Expand Down

0 comments on commit da0283b

Please sign in to comment.