Skip to content

Commit 64a45bd

Browse files
committed
Fix test grid for pypy.
1 parent db64b01 commit 64a45bd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/github-actions.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,20 @@ jobs:
146146
tox_env: 'pypy39'
147147
os: 'macos-latest'
148148
- name: 'pypy310 (ubuntu)'
149-
python: 'pypy-3.1'
150-
toxpython: 'pypy3.1'
149+
python: 'pypy-3.10'
150+
toxpython: 'pypy3.10'
151151
python_arch: 'x64'
152152
tox_env: 'pypy310'
153153
os: 'ubuntu-latest'
154154
- name: 'pypy310 (windows)'
155-
python: 'pypy-3.1'
156-
toxpython: 'pypy3.1'
155+
python: 'pypy-3.10'
156+
toxpython: 'pypy3.10'
157157
python_arch: 'x64'
158158
tox_env: 'pypy310'
159159
os: 'windows-latest'
160160
- name: 'pypy310 (macos)'
161-
python: 'pypy-3.1'
162-
toxpython: 'pypy3.1'
161+
python: 'pypy-3.10'
162+
toxpython: 'pypy3.10'
163163
python_arch: 'x64'
164164
tox_env: 'pypy310'
165165
os: 'macos-latest'

ci/templates/.github/workflows/github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
{% for env in tox_environments %}
2323
{% set prefix = env.split('-')[0] -%}
2424
{% if prefix.startswith('pypy') %}
25-
{% set python %}pypy-{{ prefix[4] }}.{{ prefix[5] }}{% endset %}
25+
{% set python %}pypy-{{ prefix[4] }}.{{ prefix[5:] }}{% endset %}
2626
{% set cpython %}pp{{ prefix[4:5] }}{% endset %}
27-
{% set toxpython %}pypy{{ prefix[4] }}.{{ prefix[5] }}{% endset %}
27+
{% set toxpython %}pypy{{ prefix[4] }}.{{ prefix[5:] }}{% endset %}
2828
{% else %}
2929
{% set python %}{{ prefix[2] }}.{{ prefix[3:] }}{% endset %}
3030
{% set cpython %}cp{{ prefix[2:] }}{% endset %}

0 commit comments

Comments
 (0)