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