Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Experimental Python 3.12 Testing #651

Merged
merged 4 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading