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
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
|
@ -98,7 +98,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -117,7 +117,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
|
|
@ -12,6 +12,41 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
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:
|
test-setup-python:
|
||||||
name: Test setup-python
|
name: Test setup-python
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
@ -21,7 +56,7 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
|
@ -65,15 +100,15 @@ jobs:
|
||||||
- name: Verify 3.13.0
|
- name: Verify 3.13.0
|
||||||
run: python __tests__/verify-python.py 3.13.0
|
run: python __tests__/verify-python.py 3.13.0
|
||||||
|
|
||||||
- name: Run with setup-python 3.11.9
|
- name: Run with setup-python 3.13
|
||||||
id: cp311
|
id: cp313
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.11.9'
|
python-version: '3.13'
|
||||||
- name: Verify 3.11.9
|
- name: Verify 3.13
|
||||||
run: python __tests__/verify-python.py 3.11.9
|
run: python __tests__/verify-python.py 3.13
|
||||||
- name: Run python-path sample 3.11.9
|
- name: Run python-path sample 3.13
|
||||||
run: pipx run --python '${{ steps.cp311.outputs.python-path }}' nox --version
|
run: pipx run --python '${{ steps.cp313.outputs.python-path }}' nox --version
|
||||||
|
|
||||||
- name: Run with setup-python ==3.13
|
- name: Run with setup-python ==3.13
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
|
@ -18,11 +18,12 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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:
|
||||||
- 'graalpy-24.1'
|
- 'graalpy-24.1'
|
||||||
- 'graalpy-23.1'
|
- 'graalpy-23.1'
|
||||||
|
- 'graalpy-23.0'
|
||||||
|
- 'graalpy-22.3'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -63,8 +64,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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: ['graalpy24.1', 'graalpy23.1']
|
graalpy: ['graalpy24.1', 'graalpy23.1', 'graalpy23.0', 'graalpy22.3']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -88,7 +89,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup GraalPy and check latest
|
- name: Setup GraalPy and check latest
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
|
|
|
@ -24,12 +24,21 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -67,12 +76,21 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -113,12 +131,21 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -157,12 +184,21 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -206,12 +242,21 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -255,7 +300,7 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
|
@ -293,7 +338,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -321,7 +366,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -354,12 +399,12 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13
|
||||||
]
|
]
|
||||||
python: ['3.11', '3.12', '3.13']
|
python: ['3.8', '3.9', '3.11', '3.12', '3.13']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -386,12 +431,27 @@ jobs:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-20.04,
|
||||||
ubuntu-22.04,
|
ubuntu-22.04,
|
||||||
ubuntu-24.04,
|
ubuntu-latest,
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python and check latest
|
- name: Setup Python and check latest
|
||||||
|
@ -416,12 +476,12 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
[
|
[
|
||||||
ubuntu-20.04,
|
ubuntu-latest,
|
||||||
ubuntu-22.04,
|
|
||||||
ubuntu-24.04,
|
|
||||||
windows-latest,
|
windows-latest,
|
||||||
macos-latest,
|
macos-latest,
|
||||||
macos-13
|
macos-13,
|
||||||
|
ubuntu-20.04,
|
||||||
|
ubuntu-22.04
|
||||||
]
|
]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -429,7 +489,6 @@ jobs:
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: |
|
python-version: |
|
||||||
3.11
|
|
||||||
3.12
|
3.12
|
||||||
3.13
|
3.13
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
Loading…
Reference in New Issue