Skip to content

Commit

Permalink
Test on Python 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Apr 18, 2023
1 parent 28a0b7b commit ecaced8
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7'

strategy:
fail-fast: False
Expand All @@ -33,6 +33,8 @@ jobs:
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-alpha.7", testenvs: "py312-dev,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7'

strategy:
fail-fast: False
Expand All @@ -34,6 +34,8 @@ jobs:
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-alpha.7", testenvs: "py312-dev,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7'

strategy:
fail-fast: False
Expand All @@ -33,6 +33,8 @@ jobs:
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-alpha.7", testenvs: "py312-dev,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ base-classifiers = [
"Intended Audience :: Developers",
"Typing :: Typed",
]
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
python-implementations = [ "CPython",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ python_versions:
- 3.8
- 3.9
- "3.10"
- "3.11"
- "3.12-dev"

keywords:
- pycharm
Expand Down
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# * pytest

[tox]
envlist = py36, py37, py38, py39, py310, mypy, build
envlist = py36, py37, py38, py39, py310, py311, py312-dev, mypy, build
skip_missing_interpreters = True
isolated_build = True
requires =
Expand All @@ -29,7 +29,7 @@ requires =
virtualenv!=20.16.0

[envlists]
test = py36, py37, py38, py39, py310
test = py36, py37, py38, py39, py310, py311, py312-dev
qa = mypy, lint
cov = py38, coverage

Expand All @@ -48,6 +48,11 @@ setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:py312-dev]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:docs]
setenv = SHOW_TODOS = 1
passenv = SPHINX_BUILDER
Expand Down

0 comments on commit ecaced8

Please sign in to comment.