From 1e166f511009c6ef0dccf7ac75b81e9665d2ffc2 Mon Sep 17 00:00:00 2001 From: Ned Twigg <ned.twigg@diffplug.com> Date: Thu, 28 Mar 2024 12:11:38 -0700 Subject: [PATCH] Run CI against the pytest project. --- .github/workflows/python-ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 6f7ecdeb..1b9261e9 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -4,9 +4,6 @@ on: pull_request: paths: - "python/**" -defaults: - run: - working-directory: python/selfie-lib concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -27,6 +24,18 @@ jobs: python-version-file: "python/selfie-lib/pyproject.toml" cache: "poetry" - run: poetry install + working-directory: python/selfie-lib - run: poetry run pytest -vv + working-directory: python/selfie-lib - run: poetry run pyright + working-directory: python/selfie-lib - run: poetry run ruff format --check + working-directory: python/selfie-lib + - run: poetry install + working-directory: python/selfie-runner-pytest + - run: poetry run pytest -vv + working-directory: python/selfie-runner-pytest + - run: poetry run pyright + working-directory: python/selfie-runner-pytest + - run: poetry run ruff format --check + working-directory: python/selfie-runner-pytest