mirror of https://github.com/actions/setup-python
Compare commits
4 Commits
d1c8c01178
...
9f18544227
Author | SHA1 | Date |
---|---|---|
priya-kinthali | 9f18544227 | |
priya-kinthali | 9cf340e3a9 | |
priya-kinthali | fa256f775a | |
priya-kinthali | 7234b81688 |
|
@ -22,7 +22,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x']
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x']
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
||||
python-version: ['3.10', 'pypy-3.10']
|
||||
python-version: ['3.10', 'pypy-3.10', '3.9', 'pypy-3.9-v7.x']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install poetry
|
||||
|
@ -98,7 +98,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x']
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
|
@ -117,7 +117,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x']
|
||||
python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x']
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
|
|
|
@ -12,6 +12,41 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test-setup-python-older:
|
||||
name: Test setup-python old versions
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: [3.8.10, 3.8.18]
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
python: '3.8.10'
|
||||
- os: ubuntu-latest
|
||||
python: '3.8.10'
|
||||
- os: macos-latest
|
||||
python: '3.8.18'
|
||||
- os: windows-latest
|
||||
python: '3.8.18'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run with setup-python ${{ matrix.python }}
|
||||
id: setup-python
|
||||
uses: ./
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
- name: Verify ${{ matrix.python }}
|
||||
run: python __tests__/verify-python.py ${{ matrix.python }}
|
||||
test-setup-python:
|
||||
name: Test setup-python
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
|
@ -21,7 +56,7 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
|
@ -65,15 +100,15 @@ jobs:
|
|||
- name: Verify 3.13.0
|
||||
run: python __tests__/verify-python.py 3.13.0
|
||||
|
||||
- name: Run with setup-python 3.11.9
|
||||
id: cp311
|
||||
- name: Run with setup-python 3.13
|
||||
id: cp313
|
||||
uses: ./
|
||||
with:
|
||||
python-version: '3.11.9'
|
||||
- name: Verify 3.11.9
|
||||
run: python __tests__/verify-python.py 3.11.9
|
||||
- name: Run python-path sample 3.11.9
|
||||
run: pipx run --python '${{ steps.cp311.outputs.python-path }}' nox --version
|
||||
python-version: '3.13'
|
||||
- name: Verify 3.13
|
||||
run: python __tests__/verify-python.py 3.13
|
||||
- name: Run python-path sample 3.13
|
||||
run: pipx run --python '${{ steps.cp313.outputs.python-path }}' nox --version
|
||||
|
||||
- name: Run with setup-python ==3.13
|
||||
uses: ./
|
||||
|
|
|
@ -18,11 +18,12 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13]
|
||||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest, macos-13]
|
||||
graalpy:
|
||||
- 'graalpy-24.1'
|
||||
- 'graalpy-23.1'
|
||||
|
||||
- 'graalpy-23.0'
|
||||
- 'graalpy-22.3'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -63,8 +64,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13]
|
||||
graalpy: ['graalpy24.1', 'graalpy23.1']
|
||||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest, macos-13]
|
||||
graalpy: ['graalpy24.1', 'graalpy23.1', 'graalpy23.0', 'graalpy22.3']
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -88,7 +89,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13]
|
||||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest, macos-13]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup GraalPy and check latest
|
||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
|
|
|
@ -24,12 +24,21 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
python: '3.8.10'
|
||||
- os: ubuntu-latest
|
||||
python: '3.8.10'
|
||||
- os: macos-latest
|
||||
python: '3.8.18'
|
||||
- os: windows-latest
|
||||
python: '3.8.18'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -67,12 +76,21 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
python: '3.8.10'
|
||||
- os: ubuntu-latest
|
||||
python: '3.8.10'
|
||||
- os: macos-latest
|
||||
python: '3.8.18'
|
||||
- os: windows-latest
|
||||
python: '3.8.18'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -113,12 +131,21 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
python: '3.8.10'
|
||||
- os: ubuntu-latest
|
||||
python: '3.8.10'
|
||||
- os: macos-latest
|
||||
python: '3.8.18'
|
||||
- os: windows-latest
|
||||
python: '3.8.18'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -157,12 +184,21 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
|
||||
python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
python: '3.8.10'
|
||||
- os: ubuntu-latest
|
||||
python: '3.8.10'
|
||||
- os: macos-latest
|
||||
python: '3.8.18'
|
||||
- os: windows-latest
|
||||
python: '3.8.18'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -206,12 +242,21 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||
exclude:
|
||||
- os: ubuntu-22.04
|
||||
python: '3.8.10'
|
||||
- os: ubuntu-latest
|
||||
python: '3.8.10'
|
||||
- os: macos-latest
|
||||
python: '3.8.18'
|
||||
- os: windows-latest
|
||||
python: '3.8.18'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -255,7 +300,7 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
|
@ -293,7 +338,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -321,7 +366,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -354,12 +399,12 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python: ['3.11', '3.12', '3.13']
|
||||
python: ['3.8', '3.9', '3.11', '3.12', '3.13']
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -386,12 +431,27 @@ jobs:
|
|||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
python-version: ['3.11', '3.12', '3.13']
|
||||
python: ['3.8', '3.9', '3.11', '3.12', '3.13']
|
||||
exclude:
|
||||
- os: macos-latest
|
||||
python: '3.8'
|
||||
- os: windows-latest
|
||||
python: '3.8'
|
||||
- os: macos-latest
|
||||
python: '3.9'
|
||||
- os: windows-latest
|
||||
python: '3.9'
|
||||
- os: macos-latest
|
||||
python: '3.11'
|
||||
- os: macos-13
|
||||
python: '3.11'
|
||||
- os: windows-latest
|
||||
python: '3.11'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python and check latest
|
||||
|
@ -416,12 +476,12 @@ jobs:
|
|||
matrix:
|
||||
os:
|
||||
[
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04,
|
||||
ubuntu-24.04,
|
||||
ubuntu-latest,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
macos-13,
|
||||
ubuntu-20.04,
|
||||
ubuntu-22.04
|
||||
]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -429,7 +489,6 @@ jobs:
|
|||
uses: ./
|
||||
with:
|
||||
python-version: |
|
||||
3.11
|
||||
3.12
|
||||
3.13
|
||||
check-latest: true
|
||||
|
|
Loading…
Reference in New Issue