Skip to content

Commit

Permalink
Test on newer Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Jul 20, 2023
1 parent dcca579 commit 2c63402
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .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,3.11,pypy-3.6,pypy-3.7,pypy-3.8'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -33,10 +33,11 @@ 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-dev,build", experimental: True}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
5 changes: 3 additions & 2 deletions .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,3.11,pypy-3.6,pypy-3.7,pypy-3.8'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -34,10 +34,11 @@ 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-dev,build", experimental: True}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
5 changes: 3 additions & 2 deletions .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,3.11,pypy-3.7,pypy-3.8'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -33,9 +33,10 @@ 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-dev,build", experimental: True}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
- {python-version: "pypy-3.9", testenvs: "pypy39", 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 @@ -34,7 +34,7 @@ base-classifiers = [
"Topic :: Software Development :: Documentation",
"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", "PyPy",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "MIT"
Expand Down
4 changes: 3 additions & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ python_versions:
- '3.8'
- '3.9'
- "3.10"
- 3.11-dev
- "3.11"
- 3.13-dev
- pypy36
- pypy37
- pypy38
- pypy39

manifest_additional:
- "include seed_intersphinx_mapping/fallback_mapping.json"
Expand Down
17 changes: 15 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ envlist =
py38
py39
py310
py311-dev
py311
py313-dev
pypy36
pypy37
pypy38
pypy39
mypy
build
skip_missing_interpreters = True
Expand All @@ -40,7 +42,18 @@ requires =
virtualenv!=20.16.0

[envlists]
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
test =
py36
py37
py38
py39
py310
py311
py313-dev
pypy36
pypy37
pypy38
pypy39
qa = mypy, lint
cov = py38, coverage

Expand Down

0 comments on commit 2c63402

Please sign in to comment.