From 2ad85fdf976a6808751c7a9f1b8f3717c12a2a8f Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Wed, 28 Aug 2024 12:49:43 +0200 Subject: [PATCH] make sure examples return failures Signed-off-by: Michele Dolfi --- .github/workflows/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c775d388..d0d90edc 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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: |