chore: update CI workflows and dependencies for workspace structure

This commit is contained in:
Greyson Lalonde
2025-09-27 16:37:08 -04:00
parent aca826c553
commit f0762473d0
4 changed files with 23 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ jobs:
enable-cache: false
- name: Install dependencies
run: uv sync --all-groups --all-extras --no-install-project
run: uv sync --all-packages --all-extras --no-install-project
- name: Get Changed Python Files
id: changed-files

View File

@@ -45,7 +45,7 @@ jobs:
enable-cache: false
- name: Install the project
run: uv sync --all-groups --all-extras
run: uv sync --all-packages --all-extras
- name: Restore test durations
uses: actions/cache/restore@v4
@@ -57,12 +57,12 @@ jobs:
run: |
PYTHON_VERSION_SAFE=$(echo "${{ matrix.python-version }}" | tr '.' '_')
DURATION_FILE=".test_durations_py${PYTHON_VERSION_SAFE}"
# Temporarily always skip cached durations to fix test splitting
# When durations don't match, pytest-split runs duplicate tests instead of splitting
echo "Using even test splitting (duration cache disabled until fix merged)"
DURATIONS_ARG=""
# Original logic (disabled temporarily):
# if [ ! -f "$DURATION_FILE" ]; then
# echo "No cached durations found, tests will be split evenly"
@@ -74,7 +74,7 @@ jobs:
# echo "No test changes detected, using cached test durations for optimal splitting"
# DURATIONS_ARG="--durations-path=${DURATION_FILE}"
# fi
uv run pytest tests/ \
--block-network \
--timeout=30 \