Skip to content

Commit

Permalink
ci: add 3.12 beta testing
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Jun 13, 2023
1 parent e0c59cc commit cfad48c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- "pypy-3.7"
- "pypy-3.8"
- "pypy-3.9"
- "3.12"
- "3.11"
- "3.10"
- "3.9"
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
allow-prereleases: true

- name: Pick environment to run
run: |
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =
type
docs
path
{py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{, -min}
{py312, py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{, -min}
isolated_build = true
skip_missing_interpreters = true
minversion = 3.14
Expand Down Expand Up @@ -60,7 +60,7 @@ setenv =
commands =
mypy

[testenv:{py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}-min]
[testenv:{py312, py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}-min]
description = check minimum versions required of all dependencies
skip_install = true
commands_pre =
Expand Down Expand Up @@ -103,4 +103,4 @@ commands =
coverage xml -o {toxworkdir}/coverage.xml -i
coverage html -d {toxworkdir}/htmlcov -i
python -m diff_cover.diff_cover_tool --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}/coverage.xml
depends = {py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{,-min}, path
depends = {py312, py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{,-min}, path

0 comments on commit cfad48c

Please sign in to comment.