Skip to content

Commit

Permalink
Update PyPy CI Specifier (#467)
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
  • Loading branch information
mattip and pradyunsg committed Oct 14, 2021
1 parent 2864588 commit 42e1396
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
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'

0 comments on commit 42e1396

Please sign in to comment.