mirror of
https://github.com/actions/setup-python.git
synced 2025-02-22 14:50:30 +07:00
Revert "Enhance Workflows: Add Ubuntu-24, Remove Python 3.8 (#985)"
This reverts commit 3fddbee787
.
This commit is contained in:
parent
d0b4fc497a
commit
e1386fad07
35
.github/workflows/e2e-tests.yml
vendored
35
.github/workflows/e2e-tests.yml
vendored
@ -12,20 +12,39 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
test-setup-python-older:
|
||||||
|
name: Test setup-python old versions
|
||||||
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
operating-system:
|
||||||
|
[ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest, macos-13]
|
||||||
|
python: [3.8.10, 3.8.18]
|
||||||
|
exclude:
|
||||||
|
- operating-system: ubuntu-22.04
|
||||||
|
python: '3.8.10'
|
||||||
|
- operating-system: macos-latest
|
||||||
|
python: '3.8.18'
|
||||||
|
- operating-system: 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 }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system:
|
operating-system:
|
||||||
[
|
[ubuntu-20.04, windows-latest, ubuntu-22.04, macos-latest, macos-13]
|
||||||
ubuntu-20.04,
|
|
||||||
windows-latest,
|
|
||||||
ubuntu-22.04,
|
|
||||||
ubuntu-latest,
|
|
||||||
macos-latest,
|
|
||||||
macos-13
|
|
||||||
]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
100
.github/workflows/test-python.yml
vendored
100
.github/workflows/test-python.yml
vendored
@ -20,16 +20,11 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||||
macos-latest,
|
exclude:
|
||||||
windows-latest,
|
- os: ubuntu-22.04
|
||||||
ubuntu-20.04,
|
python: 3.8.10
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -63,16 +58,11 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||||
macos-latest,
|
exclude:
|
||||||
windows-latest,
|
- os: ubuntu-22.04
|
||||||
ubuntu-20.04,
|
python: 3.8.10
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -109,16 +99,11 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||||
macos-latest,
|
exclude:
|
||||||
windows-latest,
|
- os: ubuntu-22.04
|
||||||
ubuntu-20.04,
|
python: 3.8.10
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -153,16 +138,11 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
|
||||||
macos-latest,
|
exclude:
|
||||||
windows-latest,
|
- os: ubuntu-22.04
|
||||||
ubuntu-20.04,
|
python: 3.8.10
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -202,16 +182,11 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
||||||
macos-latest,
|
exclude:
|
||||||
windows-latest,
|
- os: ubuntu-22.04
|
||||||
ubuntu-20.04,
|
python: 3.8.10
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -251,15 +226,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
|
||||||
macos-latest,
|
|
||||||
windows-latest,
|
|
||||||
ubuntu-20.04,
|
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -350,16 +317,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04, macos-13]
|
||||||
[
|
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
|
||||||
macos-latest,
|
|
||||||
windows-latest,
|
|
||||||
ubuntu-20.04,
|
|
||||||
ubuntu-22.04,
|
|
||||||
macos-13,
|
|
||||||
ubuntu-latest
|
|
||||||
]
|
|
||||||
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -383,7 +342,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.9', '3.10', '3.11', '3.12', '3.13']
|
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup Python and check latest
|
- name: Setup Python and check latest
|
||||||
@ -413,6 +372,7 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: |
|
python-version: |
|
||||||
|
3.8
|
||||||
3.9
|
3.9
|
||||||
3.10
|
3.10
|
||||||
3.11
|
3.11
|
||||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -2546,9 +2546,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cross-spawn": {
|
"node_modules/cross-spawn": {
|
||||||
"version": "7.0.6",
|
"version": "7.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||||
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
|
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"path-key": "^3.1.0",
|
"path-key": "^3.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user