mirror of
https://github.com/actions/setup-python.git
synced 2025-06-27 21:23:48 +00:00
update
This commit is contained in:
parent
1ab3383e4f
commit
550be3670a
1 changed files with 51 additions and 33 deletions
84
.github/workflows/e2e-tests.yml
vendored
84
.github/workflows/e2e-tests.yml
vendored
|
@ -94,36 +94,54 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty
|
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty
|
||||||
shell: bash
|
shell: bash
|
||||||
verify-windows-install-path:
|
|
||||||
name: Verify Install Path (${{ matrix.os }}, ${{ matrix.arch }}, ${{ matrix.python }}, ${{ matrix.freethreaded }})
|
verify-install-path:
|
||||||
runs-on: ${{ matrix.os }}
|
name: Verify Install Path
|
||||||
strategy:
|
runs-on: ${{ matrix.os }}
|
||||||
fail-fast: false
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, windows-11-arm]
|
os: [windows-latest, windows-11-arm]
|
||||||
arch: [x64, arm64]
|
architecture: [x64, x86, arm64]
|
||||||
python: [3.9, 3.10, 3.11, 3.12]
|
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13.1']
|
||||||
freethreaded: [true, false]
|
freethreaded: ['false', 'true']
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows-latest
|
- architecture: x64
|
||||||
arch: arm64
|
freethreaded: 'true'
|
||||||
- os: windows-latest
|
- python-version: '3.9'
|
||||||
python: 3.12
|
freethreaded: 'true'
|
||||||
arch: arm64
|
- python-version: '3.10'
|
||||||
freethreaded: false
|
freethreaded: 'true'
|
||||||
- os: windows-11-arm
|
- python-version: '3.11'
|
||||||
arch: arm64
|
freethreaded: 'true'
|
||||||
python: 3.9
|
- python-version: '3.12'
|
||||||
freethreaded: false
|
freethreaded: 'true'
|
||||||
- os: windows-11-arm
|
- os: windows-latest
|
||||||
arch: arm64
|
architecture: arm64
|
||||||
python: 3.10
|
python-version: 3.12
|
||||||
freethreaded: false
|
freethreaded: false
|
||||||
- os: windows-11-arm
|
- os: windows-11-arm
|
||||||
arch: x64 # prevent accidental mix
|
architecture: arm64
|
||||||
steps:
|
python-version: 3.9
|
||||||
- uses: actions/checkout@v4
|
freethreaded: false
|
||||||
- name: Verify Windows Install Path
|
- os: windows-11-arm
|
||||||
shell: pwsh
|
architecture: arm64
|
||||||
run: python __tests__/verify_windows_install_path.py ${{ matrix.arch }} ${{ matrix.freethreaded }}
|
python-version: 3.10
|
||||||
|
freethreaded: false
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
|
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
|
||||||
|
shell: pwsh
|
||||||
|
run: python __tests__/verify-windows-install-path.py ``
|
||||||
|
-arch ${{ matrix.architecture }} `
|
||||||
|
-freethreaded ${{ matrix.freethreaded }} `
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue