Skip to content

Commit 3259115

Browse files
committed
fix(ci): run tests with single Python version and pydantic v2 only
The full matrix (2 Python versions x 2 pydantic versions = 3 runs) causes CI timeouts. Run only min Python + pydantic v2 to keep CI within the 30 minute budget. The full matrix can be run manually via scripts/test when needed.
1 parent fac9404 commit 3259115

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@ jobs:
9797
run: ./scripts/bootstrap
9898

9999
- name: Run tests
100-
run: ./scripts/test
100+
run: |
101+
echo "==> Running tests with Pydantic v2 (Python >=3.9.0)"
102+
uv run --isolated --all-extras pytest
103+
env:
104+
UV_PYTHON: ">=3.9.0"
105+
DEFER_PYDANTIC_BUILD: "false"
101106

102107
examples:
103108
timeout-minutes: 10

0 commit comments

Comments
 (0)