Skip to content

Commit

Permalink
Add Experimental Python 3.12 Testing (#651)
Browse files Browse the repository at this point in the history
Co-authored-by: Raoul Collenteur <raoulcollenteur@gmail.com>
  • Loading branch information
martinvonk and raoulcollenteur committed Nov 23, 2023
1 parent df29d98 commit e6b7dd9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,43 @@ jobs:
test:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
include:
- name: Test suite with py38-ubuntu
python: "3.8"
toxenv: py38
experimental: false
- name: Test suite with py39-ubuntu
python: "3.9"
toxenv: py39
experimental: false
- name: Test suite with py310-ubuntu
python: "3.10"
toxenv: py310
experimental: false
- name: Test suite with py311-ubuntu
python: "3.11"
toxenv: py311
experimental: false
- name: Test suite with py312-ubuntu
python: "3.12"
toxenv: py312
experimental: true
- name: Formatting with black + isort
python: "3.9"
toxenv: format
experimental: false
- name: Linting with flake8
python: "3.9"
toxenv: lint
experimental: false
- name: Test suite for all unit tests including Notebooks
python: "3.9"
toxenv: all
experimental: false
env:
# Color Output
# Rich (pip)
Expand Down
3 changes: 2 additions & 1 deletion 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 :: Hydrology',
]

Expand Down Expand Up @@ -92,7 +93,7 @@ markers = ["notebooks: run notebooks", "bnotebooks: run benchmark notebooks"]
legacy_tox_ini = """
[tox]
requires = tox>=4
env_list = format, lint, notebooks, py{38,39,310,311}
env_list = format, lint, notebooks, py{38,39,310,311,312}
[testenv]
description = run unit tests
Expand Down

0 comments on commit e6b7dd9

Please sign in to comment.