mirror of
https://github.com/actions/setup-python.git
synced 2025-06-28 05:33:47 +00:00
logic update
This commit is contained in:
parent
32a58a97ef
commit
b22fe06733
4 changed files with 72 additions and 14 deletions
29
.github/workflows/e2e-tests.yml
vendored
29
.github/workflows/e2e-tests.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
- name: Verify 3.9.13
|
||||
run: python __tests__/verify-python.py 3.9.13
|
||||
|
||||
- name: Run with setup-python 3.9.13
|
||||
- name: Run with setup-python 3.10.11
|
||||
uses: ./
|
||||
with:
|
||||
python-version: 3.10.11
|
||||
|
@ -89,7 +89,34 @@ jobs:
|
|||
python-version: '<3.13'
|
||||
- name: Verify <3.13
|
||||
run: python __tests__/verify-python.py 3.12
|
||||
|
||||
- name: Test Raw Endpoint Access
|
||||
run: |
|
||||
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty
|
||||
shell: bash
|
||||
|
||||
verify-install-path:
|
||||
name: Verify Install Path
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, windows-11-arm]
|
||||
architecture: [x64, x86, arm64]
|
||||
freethreaded: ['false', 'true']
|
||||
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
|
||||
exclude:
|
||||
- architecture: x64
|
||||
freethreaded: 'true'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: ./
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
architecture: ${{ matrix.architecture }}
|
||||
freethreaded: ${{ matrix.freethreaded }}
|
||||
|
||||
- name: Verify Install Path
|
||||
run: python __tests__/verify_windows_install_path.py ${{ matrix.architecture }} ${{ matrix.freethreaded }} ${{ matrix.python-version }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue