Skip to content

Commit 5d65949

Browse files
authored
test against multiple pytorch versions
1 parent 9130d38 commit 5d65949

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
python-version: ["3.11", "3.12", "3.13"]
38+
pytorch-version: ["2.9", "2.10"]
3839

3940
steps:
4041
- uses: actions/checkout@v6
@@ -48,7 +49,9 @@ jobs:
4849
python-version: ${{ matrix.python-version }}
4950

5051
- name: Install dependencies
51-
run: uv sync --dev
52+
run: |
53+
uv sync --dev
54+
uv pip install torch==${{ matrix.python-version }}
5255
5356
- name: Run tests
5457
run: uv run pytest -v tests -m "not slow"

0 commit comments

Comments
 (0)