Skip to content

Commit

Permalink
feat: add python 3.12 and pypy 3.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Dec 13, 2023
1 parent 3113f3e commit 1fc4e3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:

strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9" ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8", "pypy-3.9", "pypy-3.10" ]
regex: [ "0", "1" ]
exclude:
# regex module doesn't play well with pypy and unicode.
- python-version: "pypy-3.8"
regex: "1"
- python-version: "pypy-3.9"
regex: "1"
- python-version: "pypy-3.10"
regex: "1"
# test regex module only with Python 3.9.
- python-version: "3.7"
regex: "1"
Expand All @@ -28,6 +30,8 @@ jobs:
regex: "1"
- python-version: "3.11"
regex: "1"
- python-version: "3.12"
regex: "1"

steps:
- name: Checkout
Expand Down Expand Up @@ -241,10 +245,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup python 3.9
- name: Setup python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12

- uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 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,pypy3.8,pypy3.9
envlist = py37,py38,py39,py310,py311,py312,pypy3.8,pypy3.9,pypy3.10

[testenv]
commands =
Expand Down

0 comments on commit 1fc4e3b

Please sign in to comment.