Skip to content

Commit

Permalink
ci: add support for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Oct 1, 2023
1 parent 09dd9fd commit 9b5b979
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Running tests for ${{ matrix.python-version }} with tox
uses: ymyzk/run-tox-gh-actions@main
- name: Publish coverage
if: ${{ matrix.python-version == 3.9 }}
if: ${{ matrix.python-version == "3.10" }}
run: tox -e coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, py310, py311, lint
envlist = py37, py38, py39, py310, py311, py312, lint
isolated_build = true

[testenv]
Expand Down Expand Up @@ -39,3 +39,4 @@ python =
3.9: py39
3.10: py310, lint
3.11: py311
3.12: py312

0 comments on commit 9b5b979

Please sign in to comment.