Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Run CI against the pytest project.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Mar 28, 2024
1 parent 8a98f6a commit 1e166f5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 1e166f5

Please sign in to comment.