Skip to content

Commit

Permalink
Add PyPy to the test matrix on Linux. Fixes #63.
Browse files Browse the repository at this point in the history
Adds a 'dev' factor to the matrix as workaround for actions/setup-python#508.
  • Loading branch information
jaraco committed Sep 25, 2022
1 parent 47c2cb3 commit 27c5534
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@ jobs:
strategy:
matrix:
python:
- 3.7
- '3.10'
- '3.11'
- "3.7"
- "3.10"
- "3.11"
# Workaround for actions/setup-python#508
dev:
- -dev
platform:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- python: pypy3.9
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}-dev
python-version: ${{ matrix.python }}${{ matrix.dev }}
- name: Install tox
run: |
python -m pip install tox
Expand Down Expand Up @@ -52,7 +58,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11-dev"
python-version: 3.11-dev
- name: Install tox
run: |
python -m pip install tox
Expand Down

0 comments on commit 27c5534

Please sign in to comment.