Skip to content

Commit 520991f

Browse files
committed
Run importcheck with pypy and Python 3.10
1 parent e65bb36 commit 520991f

File tree

6 files changed

+22
-11
lines changed

6 files changed

+22
-11
lines changed

.github/workflows/python_ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ jobs:
1111
runs-on: "windows-2019"
1212
continue-on-error: ${{ matrix.config.experimental }}
1313
env:
14-
USING_COVERAGE: '3.6'
14+
USING_COVERAGE: '3.10.0-alpha.7,pypy-3.6,pypy-3.7'
1515

1616
strategy:
1717
fail-fast: False
1818
matrix:
1919
config:
20-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
20+
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True}
21+
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
22+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2123

2224
steps:
2325
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ jobs:
1111
runs-on: "ubuntu-20.04"
1212
continue-on-error: ${{ matrix.config.experimental }}
1313
env:
14-
USING_COVERAGE: '3.6'
14+
USING_COVERAGE: '3.10.0-alpha.7,pypy-3.6,pypy-3.7'
1515

1616
strategy:
1717
fail-fast: False
1818
matrix:
1919
config:
20-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
20+
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True}
21+
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
22+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2123

2224
steps:
2325
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ jobs:
1111
runs-on: "macos-latest"
1212
continue-on-error: ${{ matrix.config.experimental }}
1313
env:
14-
USING_COVERAGE: '3.6'
14+
USING_COVERAGE: '3.10.0-alpha.7,pypy-3.6,pypy-3.7'
1515

1616
strategy:
1717
fail-fast: False
1818
matrix:
1919
config:
20-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
20+
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True}
21+
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
22+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
2123

2224
steps:
2325
- name: Checkout 🛎️

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ package = "pytest_mypy_plugins_shim"
3434

3535
[tool.whey]
3636
base-classifiers = []
37-
python-versions = [ "3.6",]
38-
python-implementations = [ "CPython",]
37+
python-versions = [ "3.6", "3.7",]
38+
python-implementations = [ "PyPy",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "MIT"
4141
package = "pytest_mypy_plugins_shim"

repo_helper.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ enable_tests: false
1919
entry_points:
2020
pytest11:
2121
- "pytest-mypy-plugins-shim = pytest_mypy_plugins_shim"
22+
23+
python_versions:
24+
- pypy36
25+
- pypy37
26+
- 3.10-dev

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# * pytest
1414

1515
[tox]
16-
envlist = py36, mypy, build
16+
envlist = py310-dev, pypy36, pypy37, mypy, build
1717
skip_missing_interpreters = True
1818
isolated_build = True
1919
requires =
@@ -22,15 +22,15 @@ requires =
2222
tox-pip-version>=0.0.7
2323

2424
[envlists]
25-
test = py36
25+
test = py310-dev, pypy36, pypy37
2626
qa = mypy, lint
2727

2828
[testenv]
2929
setenv = PYTHONDEVMODE = 1
3030
deps = importcheck>=0.1.0
3131
commands =
3232
python --version
33-
python -m importcheck {posargs}
33+
python -Werror -m importcheck {posargs}
3434

3535
[testenv:build]
3636
skip_install = True

0 commit comments

Comments
 (0)