Skip to content

Commit e52dfa2

Browse files
committed
fix python action for pypy
1 parent a0fb7f9 commit e52dfa2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,18 @@ jobs:
104104
- uses: actions/checkout@v2
105105
with:
106106
fetch-depth: 0
107-
- name: Set up ${{ matrix.python.name }}
108-
if: job.container == ''
107+
- name: Set up ${{ matrix.python.name }} (if CPython)
108+
if: ${{ job.container == '' && matrix.python.implementation == 'cpython'}}
109109
uses: actions/setup-python@v2
110110
with:
111111
python-version: '${{ matrix.python.action }}.0-alpha - ${{ matrix.python.action }}.X'
112112
architecture: '${{ matrix.arch.action }}'
113+
- name: Set up ${{ matrix.python.name }} (if PyPy)
114+
if: ${{ job.container == '' && matrix.python.implementation == 'pypy'}}
115+
uses: actions/setup-python@v2
116+
with:
117+
python-version: '${{ matrix.python.action }}'
118+
architecture: '${{ matrix.arch.action }}'
113119
- name: Install
114120
run: |
115121
pip install --upgrade pip setuptools wheel

0 commit comments

Comments
 (0)