Skip to content

Commit 286d045

Browse files
authored
Only use alpha-X range for CPython
1 parent 66f5b29 commit 286d045

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,34 +48,42 @@ jobs:
4848
tox: py27
4949
action: 2.7
5050
docker: 2.7
51+
implementation: cpython
5152
- name: CPython 3.5
5253
tox: py35
5354
action: 3.5
5455
docker: 3.5
56+
implementation: cpython
5557
- name: CPython 3.6
5658
tox: py36
5759
action: 3.6
5860
docker: 3.6
61+
implementation: cpython
5962
- name: CPython 3.7
6063
tox: py37
6164
action: 3.7
6265
docker: 3.7
66+
implementation: cpython
6367
- name: CPython 3.8
6468
tox: py38
6569
action: 3.8
6670
docker: 3.8
71+
implementation: cpython
6772
- name: CPython 3.9
6873
tox: py39
6974
action: 3.9
7075
docker: 3.9
76+
implementation: cpython
7177
- name: PyPy 2
7278
tox: pypy2
7379
action: pypy2
7480
docker: pypy2
81+
implementation: pypy
7582
- name: PyPy 3
7683
tox: pypy3
7784
action: pypy3
7885
docker: pypy3
86+
implementation: pypy
7987
reactor:
8088
- name: default
8189
tox: default
@@ -128,11 +136,17 @@ jobs:
128136
run: |
129137
echo "::add-matcher::.github/local-problem-matchers.json"
130138
- name: Set up ${{ matrix.python.name }}
131-
if: ${{ job.container == '' }}
139+
if: ${{ job.container == '' && matrix.python.implementation == 'cpython'}}
132140
uses: actions/setup-python@v2
133141
with:
134142
python-version: '${{ matrix.python.action }}.0-alpha - ${{ matrix.python.action }}.X'
135143
architecture: x64
144+
- name: Set up ${{ matrix.python.name }}
145+
if: ${{ job.container == '' && matrix.python.implementation == 'pypy'}}
146+
uses: actions/setup-python@v2
147+
with:
148+
python-version: '${{ matrix.python.action }}'
149+
architecture: x64
136150
- name: Report Python information
137151
shell: bash
138152
run: |

0 commit comments

Comments
 (0)