Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
continue-on-error: true
runs-on: ubuntu-latest
steps:
Expand All @@ -28,5 +28,9 @@ jobs:
- name: install dependencies
run: uv sync

- name: Install test-only dependencies (Python 3.13)
if: matrix.python-version == '3.13'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not applicable for 3.9, 3.10, 3.11 and 3.12?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests dependencies can be very heavy and take a long time to download, i don't want to 5-10x tests runtime unnecesarily, 3.13 is a good enough compromise

run: uv sync --group tests

- name: Unit tests
run: uv run pytest tests/
run: uv run pytest tests/
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ dev = [
asyncio = [
"pytest-asyncio>=1.2.0",
]
tests = [
"black>=25.9.0",
"jax>=0.4.30",
"numpy>=2.0.2",
"pandas>=2.3.3",
"pyrsistent>=0.20.0",
"scipy>=1.13.1",
"torch>=2.8.0",
"xarray>=2024.7.0",
]

[tool.hatch.build.targets.sdist]
include = ["codeflash"]
Expand Down
Loading
Loading