mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
run all examples in CI
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
e1c8d69422
commit
a39449d47b
6
.github/workflows/checks.yml
vendored
6
.github/workflows/checks.yml
vendored
@ -16,6 +16,12 @@ jobs:
|
|||||||
run: poetry run pre-commit run --all-files
|
run: poetry run pre-commit run --all-files
|
||||||
- name: Install with poetry
|
- name: Install with poetry
|
||||||
run: poetry install --all-extras
|
run: poetry install --all-extras
|
||||||
|
- name: Run examples
|
||||||
|
run: |
|
||||||
|
for file in examples/*.py; do
|
||||||
|
# Execute example
|
||||||
|
poetry run python "$file"
|
||||||
|
done
|
||||||
- name: Testing
|
- name: Testing
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest -v tests
|
poetry run pytest -v tests
|
||||||
|
Loading…
Reference in New Issue
Block a user