mirror of
https://github.com/actions/setup-python.git
synced 2025-06-28 05:33:47 +00:00
update test
This commit is contained in:
parent
c48590770f
commit
0e3ceedf0d
1 changed files with 42 additions and 30 deletions
72
.github/workflows/e2e-tests.yml
vendored
72
.github/workflows/e2e-tests.yml
vendored
|
@ -95,36 +95,48 @@ jobs:
|
||||||
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-install-path:
|
verify-install-path:
|
||||||
name: Verify Install Path on Windows
|
name: Verify Install Path
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest]
|
os: [windows-latest, windows-11-arm]
|
||||||
architecture: [x64, x86, arm64]
|
architecture: [x64, x86, arm64]
|
||||||
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13.1']
|
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13.1']
|
||||||
freethreaded: ['false', 'true']
|
freethreaded: ['false', 'true']
|
||||||
# Free-threaded is only supported for 3.13 or newer
|
exclude:
|
||||||
exclude:
|
- architecture: x64
|
||||||
- python-version: ['3.9', '3.10', '3.11', '3.12']
|
freethreaded: 'true'
|
||||||
freethreaded: 'true'
|
- python-version: '3.9'
|
||||||
|
freethreaded: 'true'
|
||||||
|
- python-version: '3.10'
|
||||||
|
freethreaded: 'true'
|
||||||
|
- python-version: '3.11'
|
||||||
|
freethreaded: 'true'
|
||||||
|
- python-version: '3.12'
|
||||||
|
freethreaded: 'true'
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Init verify script
|
||||||
uses: ./
|
shell: pwsh
|
||||||
with:
|
run: mv ./__tests__/verify_windows_install_path.ps1 .
|
||||||
python-version: ${{ matrix.python-version }}
|
|
||||||
architecture: ${{ matrix.architecture }}
|
|
||||||
freethreaded: ${{ matrix.freethreaded }}
|
|
||||||
|
|
||||||
- name: Run Install-Path Verification
|
- name: Set up Python
|
||||||
shell: pwsh
|
uses: ./
|
||||||
run: |
|
with:
|
||||||
Set-Location -Path $Env:GITHUB_WORKSPACE
|
python-version: ${{ matrix.python-version }}
|
||||||
.\__tests__\verify_windows_install_path.ps1 `
|
architecture: ${{ matrix.architecture }}
|
||||||
${{ matrix.architecture }} `
|
freethreaded: ${{ matrix.freethreaded }}
|
||||||
${{ matrix.freethreaded }} `
|
|
||||||
${{ matrix.python-version }}
|
- name: Verify Install Path
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
Set-Location -Path $Env:GITHUB_WORKSPACE
|
||||||
|
.\verify_windows_install_path.ps1 `
|
||||||
|
${{ matrix.architecture }} `
|
||||||
|
${{ matrix.freethreaded }} `
|
||||||
|
${{ matrix.python-version }}
|
Loading…
Add table
Add a link
Reference in a new issue