update test

This commit is contained in:
Aparna Jyothi 2025-06-10 13:01:12 +05:30
parent c48590770f
commit 0e3ceedf0d

View file

@ -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 }}