Skip to content
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

Update PyPy CI Specifier #467

Merged
merged 2 commits into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ jobs:
matrix:
os: [Ubuntu, Windows, macOS]
python_version:
["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
exclude:
# This is failing due to pip not being in the virtual environment.
# https://github.com/pypa/packaging/runs/424785871#step:7:9
- os: windows
python_version: pypy3
["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.7"]

steps:
- uses: actions/checkout@v1
Expand All @@ -44,11 +39,18 @@ jobs:
run: |
python -m nox --error-on-missing-interpreters -s tests-${{ matrix.python_version }}
shell: bash
if: matrix.python_version != 'pypy2'
if: ${{ ! startsWith( matrix.python_version, 'pypy' ) }}

# Binary is named 'pypy', but setup-python specifies it as 'pypy2'.
- name: Run nox for pypy2
run: |
python -m nox --error-on-missing-interpreters -s tests-pypy
shell: bash
if: matrix.python_version == 'pypy2'

# Binary is named 'pypy3', but setup-python specifies it as 'pypy-3.7'.
- name: Run nox for pypy3
run: |
python -m nox --error-on-missing-interpreters -s tests-pypy3
shell: bash
if: matrix.python_version == 'pypy-3.7'
2 changes: 1 addition & 1 deletion docs/development/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ each supported Python version and run the tests. For example:
nox > * tests-3.7: success
nox > * tests-3.8: success
nox > * tests-3.9: success
nox > * tests-pypy3: skipped
nox > * tests-pypy3.7: skipped
mattip marked this conversation as resolved.
Show resolved Hide resolved

You may not have all the required Python versions installed, in which case you
will see one or more ``InterpreterNotFound`` errors.
Expand Down