From a39449d47b9628655213e30f200966b8dba876d7 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Wed, 28 Aug 2024 12:43:54 +0200 Subject: [PATCH] run all examples in CI Signed-off-by: Michele Dolfi --- .github/workflows/checks.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index fff22546..c775d388 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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