Skip to content

Try running self check on PyPy in CI #11367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ jobs:
arch: x64
os: ubuntu-latest
toxenv: type
- name: Type check our own code (with PyPy)
python: 'pypy-3.8'
arch: x64
os: ubuntu-latest
toxenv: type-pypy
- name: Code style with flake8
python: '3.7'
arch: x64
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ commands =
python -m mypy --config-file mypy_self_check.ini -p mypy -p mypyc
python -m mypy --config-file mypy_self_check.ini misc/proper_plugin.py scripts/mypyc


[testenv:type-pypy]
description = type check ourselves
basepython = pypy3
deps = -rmypy-requirements.txt
commands =
python -m mypy --config-file mypy_self_check.ini -p mypy

[testenv:docs]
description = invoke sphinx-build to build the HTML docs
basepython = python3.7
Expand Down