run all examples in CI

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-08-28 12:43:54 +02:00
parent e1c8d69422
commit a39449d47b

View File

@ -16,6 +16,12 @@ jobs:
run: poetry run pre-commit run --all-files
- name: Install with poetry
run: poetry install --all-extras
- name: Run examples
run: |
for file in examples/*.py; do
# Execute example
poetry run python "$file"
done
- name: Testing
run: |
poetry run pytest -v tests