Skip to content

Commit a16934d

Browse files
committed
Test on PyPy 3.8 and 3.9
1 parent 37f7b96 commit a16934d

File tree

6 files changed

+28
-6
lines changed

6 files changed

+28
-6
lines changed

.github/workflows/python_ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,6 +33,9 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
36+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
37+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
38+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
3639

3740
steps:
3841
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,6 +34,9 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
37+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
38+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
39+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
3740

3841
steps:
3942
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11.0-beta.3,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,6 +33,9 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11.0-beta.3", testenvs: "py311-dev,build", experimental: True}
36+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
37+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
38+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
3639

3740
steps:
3841
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ base-classifiers = [
3434
"Typing :: Typed",
3535
]
3636
python-versions = [ "3.7", "3.8", "3.9", "3.10",]
37-
python-implementations = [ "CPython",]
37+
python-implementations = [ "CPython", "PyPy",]
3838
platforms = [ "Windows", "macOS", "Linux",]
3939
license-key = "MIT"
4040
package = "testing_tox"

repo_helper.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ python_versions:
2222
- 3.9
2323
- "3.10"
2424
- 3.11-dev
25+
- pypy37
26+
- pypy38
27+
- pypy39
2528

2629
classifiers:
2730
- 'Development Status :: 4 - Beta'

tox.ini

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,25 @@
1414
# * pytest
1515

1616
[tox]
17-
envlist = py37, py38, py39, py310, py311-dev, mypy, build
17+
envlist =
18+
py37
19+
py38
20+
py39
21+
py310
22+
py311-dev
23+
pypy37
24+
pypy38
25+
pypy39
26+
mypy
27+
build
1828
skip_missing_interpreters = True
1929
isolated_build = True
2030
requires =
2131
pip>=21
2232
tox-envlist>=0.2.1
2333

2434
[envlists]
25-
test = py37, py38, py39, py310, py311-dev
35+
test = py37, py38, py39, py310, py311-dev, pypy37, pypy38, pypy39
2636
qa = mypy, lint
2737

2838
[testenv]

0 commit comments

Comments
 (0)