Skip to content

Commit 27c5534

Browse files
committed
Add PyPy to the test matrix on Linux. Fixes #63.
Adds a 'dev' factor to the matrix as workaround for actions/setup-python#508.
1 parent 47c2cb3 commit 27c5534

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,26 @@ jobs:
77
strategy:
88
matrix:
99
python:
10-
- 3.7
11-
- '3.10'
12-
- '3.11'
10+
- "3.7"
11+
- "3.10"
12+
- "3.11"
13+
# Workaround for actions/setup-python#508
14+
dev:
15+
- -dev
1316
platform:
1417
- ubuntu-latest
1518
- macos-latest
1619
- windows-latest
20+
include:
21+
- python: pypy3.9
22+
platform: ubuntu-latest
1723
runs-on: ${{ matrix.platform }}
1824
steps:
1925
- uses: actions/checkout@v3
2026
- name: Setup Python
2127
uses: actions/setup-python@v4
2228
with:
23-
python-version: ${{ matrix.python }}-dev
29+
python-version: ${{ matrix.python }}${{ matrix.dev }}
2430
- name: Install tox
2531
run: |
2632
python -m pip install tox
@@ -52,7 +58,7 @@ jobs:
5258
- name: Setup Python
5359
uses: actions/setup-python@v4
5460
with:
55-
python-version: "3.11-dev"
61+
python-version: 3.11-dev
5662
- name: Install tox
5763
run: |
5864
python -m pip install tox

0 commit comments

Comments
 (0)