make sure examples return failures

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

View File

@ -19,8 +19,8 @@ jobs:
- name: Run examples
run: |
for file in examples/*.py; do
# Execute example
poetry run python "$file"
echo "Running example $file"
poetry run python "$file" || exit 1
done
- name: Testing
run: |