Skip to content

Commit

Permalink
Fix Python setup in test.yml Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jun 14, 2024
1 parent ede9dff commit dadfa37
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- python-version: '3.10'
python-release: 'v3.10'
python-impl: CPython
- python-version: '3.11'
python-release: 'v3.11'
python-impl: CPython
- python-version: '3.12'
python-release: 'v3.12'
python-impl: CPython
- python-version: pypy-3.6
python-release: v3.6
python-impl: PyPy
Expand All @@ -41,6 +47,9 @@ jobs:
- python-version: pypy-3.9
python-release: v3.9
python-impl: PyPy
- python-version: pypy-3.10
python-release: v3.10
python-impl: PyPy
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -59,7 +68,7 @@ jobs:
key: ${{ runner.os }}-build-${{ matrix.python-version }}
restore-keys: ${{ runner.os }}-build-${{ matrix.python-version }}
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.1
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
Expand Down Expand Up @@ -104,6 +113,12 @@ jobs:
- python-version: '3.10'
python-release: 'v3.10'
python-impl: CPython
- python-version: '3.11'
python-release: 'v3.11'
python-impl: CPython
- python-version: '3.12'
python-release: 'v3.12'
python-impl: CPython
- python-version: pypy-3.7
python-release: v3.7
python-impl: PyPy
Expand All @@ -113,6 +128,9 @@ jobs:
- python-version: pypy-3.9
python-release: v3.9
python-impl: PyPy
- python-version: pypy-3.10
python-release: v3.10
python-impl: PyPy
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -131,7 +149,7 @@ jobs:
key: ${{ runner.os }}-build-${{ matrix.python-version }}
restore-keys: ${{ runner.os }}-build-${{ matrix.python-version }}
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.1
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
Expand Down

0 comments on commit dadfa37

Please sign in to comment.