From 6c9fa58155f097799a770b07c581d41ea2b59913 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Wed, 28 Aug 2024 13:54:15 +0200 Subject: [PATCH] run examples after tests Signed-off-by: Michele Dolfi --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index d0d90edc..8df822ab 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -16,14 +16,14 @@ jobs: run: poetry run pre-commit run --all-files - name: Install with poetry run: poetry install --all-extras + - name: Testing + run: | + poetry run pytest -v tests - name: Run examples run: | for file in examples/*.py; do echo "Running example $file" poetry run python "$file" || exit 1 done - - name: Testing - run: | - poetry run pytest -v tests - name: Build with poetry run: poetry build \ No newline at end of file