From 5353f7fcd2b563577f764f510336446593aa0081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Degioanni?= <30992420+Moxinilian@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:23:45 +0200 Subject: [PATCH] test book breakage detection --- .github/workflows/ci-core.yml | 1 + docs/book/src/starting.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci-core.yml b/.github/workflows/ci-core.yml index e5a14457e8..fcc75c5362 100644 --- a/.github/workflows/ci-core.yml +++ b/.github/workflows/ci-core.yml @@ -53,5 +53,6 @@ jobs: - name: Execute book tests run: | for f in docs/book/**/*.py; do + echo "Running book code: '$f'"; python "$f"; done diff --git a/docs/book/src/starting.py b/docs/book/src/starting.py index dbb58ade1f..f9ce922897 100644 --- a/docs/book/src/starting.py +++ b/docs/book/src/starting.py @@ -7,3 +7,5 @@ class SomeTestOp(IRDLOperation): name = "some.test" # ANCHOR_END: test_op + +raise ValueError("oh no this is not working")