Skip to content

Commit a07cad3

Browse files
committed
add python version matrix for tests
1 parent d042a51 commit a07cad3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1417
steps:
1518
- uses: actions/checkout@v4
1619

17-
- name: Set up Python
20+
- name: Set up Python ${{ matrix.python-version }}
1821
uses: actions/setup-python@v5
1922
with:
20-
python-version: '3.9'
23+
python-version: ${{ matrix.python-version }}
2124

2225
- name: Install uv
2326
uses: astral-sh/setup-uv@v4

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ description = "A library for handling BinaryCIF files."
99
readme = "README.md"
1010
license = "MIT"
1111
license-files = ["LICENSE"]
12-
requires-python = ">=3.9"
12+
requires-python = ">=3.9,<3.14"
1313
classifiers = [
1414
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3.9",
16+
"Programming Language :: Python :: 3.10",
17+
"Programming Language :: Python :: 3.11",
18+
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
1520
"Operating System :: OS Independent",
1621
]
1722
dependencies = [

0 commit comments

Comments
 (0)