Skip to content

Commit 6e2b051

Browse files
committed
conditionally run 3.13 with tests dependencies
1 parent 774ee63 commit 6e2b051

File tree

3 files changed

+1076
-12
lines changed

3 files changed

+1076
-12
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,9 @@ jobs:
2828
- name: install dependencies
2929
run: uv sync
3030

31+
- name: Install test-only dependencies (Python 3.13)
32+
if: matrix.python-version == '3.13'
33+
run: uv sync --group tests
34+
3135
- name: Unit tests
32-
run: uv run pytest tests/
36+
run: uv run pytest tests/

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ dev = [
8585
asyncio = [
8686
"pytest-asyncio>=1.2.0",
8787
]
88+
tests = [
89+
"black>=25.9.0",
90+
"jax>=0.4.30",
91+
"numpy>=2.0.2",
92+
"pandas>=2.3.3",
93+
"pyrsistent>=0.20.0",
94+
"scipy>=1.13.1",
95+
"torch>=2.8.0",
96+
"xarray>=2024.7.0",
97+
]
8898

8999
[tool.hatch.build.targets.sdist]
90100
include = ["codeflash"]

0 commit comments

Comments
 (0)