update test

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

View file

@ -95,24 +95,36 @@ 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:
- python-version: ['3.9', '3.10', '3.11', '3.12'] - architecture: x64
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: Init verify script
shell: pwsh
run: mv ./__tests__/verify_windows_install_path.ps1 .
- name: Set up Python - name: Set up Python
uses: ./ uses: ./
with: with:
@ -120,11 +132,11 @@ jobs:
architecture: ${{ matrix.architecture }} architecture: ${{ matrix.architecture }}
freethreaded: ${{ matrix.freethreaded }} freethreaded: ${{ matrix.freethreaded }}
- name: Run Install-Path Verification - name: Verify Install Path
shell: pwsh shell: pwsh
run: | run: |
Set-Location -Path $Env:GITHUB_WORKSPACE Set-Location -Path $Env:GITHUB_WORKSPACE
.\__tests__\verify_windows_install_path.ps1 ` .\verify_windows_install_path.ps1 `
${{ matrix.architecture }} ` ${{ matrix.architecture }} `
${{ matrix.freethreaded }} ` ${{ matrix.freethreaded }} `
${{ matrix.python-version }} ${{ matrix.python-version }}