Skip to content

Commit 0a1db80

Browse files
committed
chore(ci): Test on Python 3.10+
1 parent a2d6eac commit 0a1db80

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/test.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ jobs:
8585
# Unit tests only on Linux/Python 3.12
8686
runs-on: 'ubuntu-latest'
8787
needs: ['cache-test-data']
88+
strategy:
89+
matrix:
90+
python-version: ['3.10', '3.11', '3.12']
8891
steps:
8992
- uses: actions/checkout@v4
9093
with:
@@ -93,7 +96,7 @@ jobs:
9396
- name: Set up Python ${{ matrix.python-version }}
9497
uses: actions/setup-python@v5
9598
with:
96-
python-version: '3.12'
99+
python-version: ${{ matrix.python-version }}
97100
- name: Install the latest version of uv
98101
uses: astral-sh/setup-uv@v5
99102
- name: Install ANTs

tox.ini

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
requires =
33
tox>=4
44
envlist =
5-
py312, notebooks
5+
py3{10,11,12,13}
6+
notebooks
67
skip_missing_interpreters = true
78

89
# Configuration that allows us to split tests across GitHub runners effectively
910
[gh-actions]
1011
python =
12+
3.10: py310
13+
3.11: py311
1114
3.12: py312, notebooks
15+
3.13: py313
1216

1317
[testenv]
1418
description = Pytest with coverage

0 commit comments

Comments
 (0)