mirror of
https://github.com/trycua/lume.git
synced 2026-01-06 04:20:03 -06:00
Update python-tests.yml
This commit is contained in:
11
.github/workflows/python-tests.yml
vendored
11
.github/workflows/python-tests.yml
vendored
@@ -50,9 +50,14 @@ jobs:
|
||||
if [ -f pyproject.toml ]; then
|
||||
uv pip install --system -e .
|
||||
fi
|
||||
# Install test dependencies if tests directory exists
|
||||
if [ -d tests ]; then
|
||||
uv pip install --system pytest pytest-asyncio pytest-mock pytest-cov
|
||||
shell: bash
|
||||
|
||||
- name: Install test dependencies
|
||||
run: |
|
||||
# Install test dependencies from root pyproject.toml if tests directory exists
|
||||
# The root pyproject.toml has package=false, so we install just the dependency group
|
||||
if [ -d "libs/python/${{ matrix.package }}/tests" ]; then
|
||||
uv pip install --system --group test
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user