1
0
mirror of https://github.com/actions/setup-python synced 2024-11-30 21:22:28 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
priya-kinthali
33b410d5fd
Merge 0bae723ab0 into 19dfb7b659 2024-10-16 07:06:22 +00:00
priya-kinthali
0bae723ab0 included testing for 3.14.0-alpha.1 2024-10-16 12:36:14 +05:30

View File

@ -291,7 +291,7 @@ jobs:
run: python -c 'import math; print(math.factorial(5))'
setup-pre-release-version-from-manifest:
name: Setup 3.13.0-beta.1 ${{ matrix.os }}
name: Setup 3.14.0-alpha.1 ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
@ -309,11 +309,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: setup-python 3.13.0-beta.1
- name: setup-python 3.14.0-alpha.1
id: setup-python
uses: ./
with:
python-version: '3.13.0-beta.1'
python-version: '3.14.0-alpha.1'
- name: Check python-path
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
@ -322,8 +322,8 @@ jobs:
- name: Validate version
run: |
$pythonVersion = (python --version)
if ("Python 3.13.0b1" -ne "$pythonVersion"){
Write-Host "The current version is $pythonVersion; expected version is 3.13.0a6"
if ("Python 3.14.0a1" -ne "$pythonVersion"){
Write-Host "The current version is $pythonVersion; expected version is 3.14.0a1"
exit 1
}
$pythonVersion
@ -338,7 +338,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
os:
[
ubuntu-latest,
ubuntu-22.04,
ubuntu-20.04,
windows-latest,
macos-latest,
macos-13
]
steps:
- name: Checkout
uses: actions/checkout@v4
@ -366,7 +374,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
os:
[
ubuntu-latest,
ubuntu-22.04,
ubuntu-20.04,
windows-latest,
macos-latest,
macos-13
]
steps:
- name: Checkout
uses: actions/checkout@v4