mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +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
|
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
|
Loading…
Reference in New Issue
Block a user