mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
make sure examples return failures
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
a39449d47b
commit
2ad85fdf97
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
@ -19,8 +19,8 @@ jobs:
|
|||||||
- name: Run examples
|
- name: Run examples
|
||||||
run: |
|
run: |
|
||||||
for file in examples/*.py; do
|
for file in examples/*.py; do
|
||||||
# Execute example
|
echo "Running example $file"
|
||||||
poetry run python "$file"
|
poetry run python "$file" || exit 1
|
||||||
done
|
done
|
||||||
- name: Testing
|
- name: Testing
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user