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
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
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'