diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index e394791f..5ea5ee42 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -29,59 +29,70 @@ jobs: shell: bash run: echo "$HOME/.local/bin" >> $GITHUB_PATH - name: selfie-lib - install dependencies + shell: bash run: | uv venv source .venv/bin/activate || . .venv/Scripts/activate uv pip install -r requirements.txt -r dev-requirements.txt working-directory: python/selfie-lib - name: selfie-lib - pytest + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m pytest -vv working-directory: python/selfie-lib - name: selfie-lib - pyright + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m pyright working-directory: python/selfie-lib - name: selfie-lib - ruff + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m ruff format --check && python -m ruff check working-directory: python/selfie-lib - name: pytest-selfie - install dependencies + shell: bash run: | uv venv source .venv/bin/activate || . .venv/Scripts/activate uv pip install -r requirements.txt -r dev-requirements.txt working-directory: python/pytest-selfie - name: pytest-selfie - pyright + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m pyright working-directory: python/pytest-selfie - name: pytest-selfie - ruff + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m ruff format --check && python -m ruff check working-directory: python/pytest-selfie - name: example-pytest-selfie - install dependencies + shell: bash run: | uv venv source .venv/bin/activate || . .venv/Scripts/activate uv pip install -r requirements.txt -r dev-requirements.txt working-directory: python/example-pytest-selfie - name: example-pytest-selfie - pytest + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m pytest -vv working-directory: python/example-pytest-selfie - name: example-pytest-selfie - pyright + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m pyright working-directory: python/example-pytest-selfie - name: example-pytest-selfie - ruff + shell: bash run: | source .venv/bin/activate || . .venv/Scripts/activate python -m ruff format --check && python -m ruff check