mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 11:13:29 +00:00
ubuntu24-label-changes
This commit is contained in:
parent
9f1b224e9e
commit
7f96e74d47
14
.github/workflows/e2e-tests.yml
vendored
14
.github/workflows/e2e-tests.yml
vendored
@ -58,15 +58,15 @@ jobs:
|
||||
- name: Verify 3.12.4
|
||||
run: python __tests__/verify-python.py 3.12.4
|
||||
|
||||
- name: Run with setup-python 3.10.11
|
||||
id: cp310
|
||||
- name: Run with setup-python 3.12
|
||||
id: cp312
|
||||
uses: ./
|
||||
with:
|
||||
python-version: '3.10.11'
|
||||
- name: Verify 3.10.11
|
||||
run: python __tests__/verify-python.py 3.10.11
|
||||
- name: Run python-path sample 3.10.11
|
||||
run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
|
||||
python-version: '3.12'
|
||||
- name: Verify 3.12
|
||||
run: python __tests__/verify-python.py 3.12
|
||||
- name: Run python-path sample 3.12
|
||||
run: pipx run --python '${{ steps.cp312.outputs.python-path }}' nox --version
|
||||
|
||||
- name: Run with setup-python ==3.12
|
||||
uses: ./
|
||||
|
8
.github/workflows/test-python.yml
vendored
8
.github/workflows/test-python.yml
vendored
@ -206,7 +206,7 @@ jobs:
|
||||
run: python -c 'import math; print(math.factorial(5))'
|
||||
|
||||
setup-pre-release-version-from-manifest:
|
||||
name: Setup 3.13.0-alpha.6 ${{ matrix.os }}
|
||||
name: Setup 3.13.0-beta.1 ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -216,11 +216,11 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup-python 3.13.0-alpha.6
|
||||
- name: setup-python 3.13.0-beta.1
|
||||
id: setup-python
|
||||
uses: ./
|
||||
with:
|
||||
python-version: '3.13.0-alpha.6'
|
||||
python-version: '3.13.0-beta.1'
|
||||
|
||||
- name: Check python-path
|
||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
||||
@ -229,7 +229,7 @@ jobs:
|
||||
- name: Validate version
|
||||
run: |
|
||||
$pythonVersion = (python --version)
|
||||
if ("Python 3.13.0a6" -ne "$pythonVersion"){
|
||||
if ("Python 3.13.0b1" -ne "$pythonVersion"){
|
||||
Write-Host "The current version is $pythonVersion; expected version is 3.13.0a6"
|
||||
exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user