Merge branch 'dev/add-strict-tests' of github.com:DS4SD/docling into dev/add-strict-tests

This commit is contained in:
Christoph Auer 2024-08-28 14:58:29 +02:00
commit e44791691f

View File

@ -16,14 +16,14 @@ 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: Testing
run: |
poetry run pytest -v tests
- name: Run examples - name: Run examples
run: | run: |
for file in examples/*.py; do for file in examples/*.py; do
echo "Running example $file" echo "Running example $file"
poetry run python "$file" || exit 1 poetry run python "$file" || exit 1
done done
- name: Testing
run: |
poetry run pytest -v tests
- name: Build with poetry - name: Build with poetry
run: poetry build run: poetry build