Skip to content

Commit

Permalink
chore(ci): Test on Python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jan 27, 2025
1 parent a2d6eac commit 0a1db80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
# Unit tests only on Linux/Python 3.12
runs-on: 'ubuntu-latest'
needs: ['cache-test-data']
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -93,7 +96,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: ${{ matrix.python-version }}
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
- name: Install ANTs
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
requires =
tox>=4
envlist =
py312, notebooks
py3{10,11,12,13}
notebooks
skip_missing_interpreters = true

# Configuration that allows us to split tests across GitHub runners effectively
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312, notebooks
3.13: py313

[testenv]
description = Pytest with coverage
Expand Down

0 comments on commit 0a1db80

Please sign in to comment.