From ec228044dc1f8d39023d66244f3714fcd6dd49f6 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 13 Nov 2025 12:37:40 -0500 Subject: [PATCH] Update python-tests.yml --- .github/workflows/python-tests.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 84e1dc70..e8eb0c8b 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -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