Skip to content

Commit

Permalink
Fix: Update CI workflow for proper package installation order
Browse files Browse the repository at this point in the history
Co-Authored-By: ned.twigg@diffplug.com <ned.twigg@diffplug.com>
  • Loading branch information
devin-ai-integration[bot] and nedtwigg committed Dec 11, 2024
1 parent b0c7596 commit b40233f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b40233f

Please sign in to comment.