From da0283b8fc3ee89953366b1885d1d9e609a1a070 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Tue, 7 Jan 2025 18:34:52 -0500 Subject: [PATCH] ci(update): fail if tracebacks found (#73) --- .github/workflows/update-pages.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/update-pages.yml b/.github/workflows/update-pages.yml index 65768b95..126b1b43 100644 --- a/.github/workflows/update-pages.yml +++ b/.github/workflows/update-pages.yml @@ -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