Skip to content

Commit

Permalink
test book breakage detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Moxinilian committed Apr 16, 2024
1 parent 68f0a43 commit 5353f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions docs/book/src/starting.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
class SomeTestOp(IRDLOperation):
name = "some.test"
# ANCHOR_END: test_op

raise ValueError("oh no this is not working")

0 comments on commit 5353f7f

Please sign in to comment.