Skip to content

Commit 78d06fd

Browse files
authored
Merge pull request #268 from PyAutoLabs/feature/python-313
build: add Python 3.13 to CI matrix
2 parents 74bc67e + 5044db3 commit 78d06fd

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ jobs:
66
unittest:
77
runs-on: ubuntu-latest
88
strategy:
9+
fail-fast: false
910
matrix:
10-
python-version: ['3.12']
11+
python-version: ['3.12', '3.13']
1112
steps:
1213
- name: Checkout PyAutoConf
1314
uses: actions/checkout@v2
@@ -36,7 +37,12 @@ jobs:
3637
pip3 install setuptools
3738
pip3 install wheel
3839
pip3 install pytest coverage pytest-cov
39-
pip install ./PyAutoConf "./PyAutoArray[optional]"
40+
pip install ./PyAutoConf ./PyAutoArray
41+
if [ "${{ matrix.python-version }}" = "3.12" ]; then
42+
pip install "./PyAutoArray[optional]"
43+
else
44+
pip install numba pynufft
45+
fi
4046
4147
- name: Extract branch name
4248
shell: bash

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ classifiers = [
1818
"Topic :: Scientific/Engineering :: Physics",
1919
"Natural Language :: English",
2020
"Operating System :: OS Independent",
21-
"Programming Language :: Python :: 3.12"
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13"
2223
]
2324
keywords = ["cli"]
2425
dependencies = [

0 commit comments

Comments
 (0)