Skip to content

Commit

Permalink
Add Python 3.12 and NumPy 1.26 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dranjan committed Nov 13, 2023
1 parent fed5d87 commit 55217e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]

Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[tox]
envlist = global-init,py38-numpy1.{17,19,21,22,23,24},py39-numpy1.{17,19,21,22,23,24,25},py310-numpy1.{21,22,23,24,25},py311-numpy1.{23,24,25},global-finalize
envlist = global-init,py38-numpy1.{17,19,21,22,23,24},py39-numpy1.{17,19,21,22,23,24,25},py310-numpy1.{21,22,23,24,25},py311-numpy1.{23,24,25},py312-numpy1.26,global-finalize

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv:global-init]
skip_install = True
Expand All @@ -27,6 +28,7 @@ deps =
numpy1.23: numpy>=1.23,<1.24
numpy1.24: numpy>=1.24,<1.25
numpy1.25: numpy>=1.25,<1.26
numpy1.26: numpy>=1.26,<1.27
setenv =
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
commands = py.test test -v --cov=plyfile
Expand Down

0 comments on commit 55217e7

Please sign in to comment.