diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 3d095b7a..c9cf2eeb 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -37,7 +37,6 @@ jobs: . .venv/bin/activate fi python -m pip install --upgrade pip - uv pip install --system - name: selfie-lib - install dependencies shell: bash @@ -48,8 +47,8 @@ jobs: else . ../../.venv/bin/activate fi - python -m pip install -e . - python -m pip install -r requirements.txt -r dev-requirements.txt + uv pip install -e . + uv pip install -r requirements.txt -r dev-requirements.txt - name: selfie-lib - pytest shell: bash @@ -93,8 +92,20 @@ jobs: else . ../../.venv/bin/activate fi + uv pip install . uv pip install -r requirements.txt -r dev-requirements.txt + - name: pytest-selfie - pytest + shell: bash + working-directory: python/pytest-selfie + run: | + if [ "${{ runner.os }}" = "Windows" ]; then + . ../../.venv/Scripts/activate + else + . ../../.venv/bin/activate + fi + python -m pytest -vv + - name: pytest-selfie - pyright shell: bash working-directory: python/pytest-selfie