mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 07:22:14 +00:00
ubuntu24-label-changes
This commit is contained in:
parent
9f1b224e9e
commit
7f96e74d47
2 changed files with 11 additions and 11 deletions
14
.github/workflows/e2e-tests.yml
vendored
14
.github/workflows/e2e-tests.yml
vendored
|
@ -58,15 +58,15 @@ jobs:
|
||||||
- name: Verify 3.12.4
|
- name: Verify 3.12.4
|
||||||
run: python __tests__/verify-python.py 3.12.4
|
run: python __tests__/verify-python.py 3.12.4
|
||||||
|
|
||||||
- name: Run with setup-python 3.10.11
|
- name: Run with setup-python 3.12
|
||||||
id: cp310
|
id: cp312
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.11'
|
python-version: '3.12'
|
||||||
- name: Verify 3.10.11
|
- name: Verify 3.12
|
||||||
run: python __tests__/verify-python.py 3.10.11
|
run: python __tests__/verify-python.py 3.12
|
||||||
- name: Run python-path sample 3.10.11
|
- name: Run python-path sample 3.12
|
||||||
run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version
|
run: pipx run --python '${{ steps.cp312.outputs.python-path }}' nox --version
|
||||||
|
|
||||||
- name: Run with setup-python ==3.12
|
- name: Run with setup-python ==3.12
|
||||||
uses: ./
|
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))'
|
run: python -c 'import math; print(math.factorial(5))'
|
||||||
|
|
||||||
setup-pre-release-version-from-manifest:
|
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 }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -216,11 +216,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: setup-python 3.13.0-alpha.6
|
- name: setup-python 3.13.0-beta.1
|
||||||
id: setup-python
|
id: setup-python
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
python-version: '3.13.0-alpha.6'
|
python-version: '3.13.0-beta.1'
|
||||||
|
|
||||||
- name: Check python-path
|
- name: Check python-path
|
||||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
||||||
|
@ -229,7 +229,7 @@ jobs:
|
||||||
- name: Validate version
|
- name: Validate version
|
||||||
run: |
|
run: |
|
||||||
$pythonVersion = (python --version)
|
$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"
|
Write-Host "The current version is $pythonVersion; expected version is 3.13.0a6"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue