update test

This commit is contained in:
Aparna Jyothi 2025-06-10 13:02:45 +05:30
parent 0e3ceedf0d
commit aba971c3a3

View file

@ -95,48 +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 name: Verify Install Path
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [windows-latest, windows-11-arm] 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']
exclude: exclude:
- architecture: x64 - architecture: x64
freethreaded: 'true' freethreaded: 'true'
- python-version: '3.9' - python-version: '3.9'
freethreaded: 'true' freethreaded: 'true'
- python-version: '3.10' - python-version: '3.10'
freethreaded: 'true' freethreaded: 'true'
- python-version: '3.11' - python-version: '3.11'
freethreaded: 'true' freethreaded: 'true'
- python-version: '3.12' - python-version: '3.12'
freethreaded: 'true' freethreaded: 'true'
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Init verify script - name: Set up Python
shell: pwsh uses: ./
run: mv ./__tests__/verify_windows_install_path.ps1 . with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
freethreaded: ${{ matrix.freethreaded }}
- name: Set up Python - name: Init verify script
uses: ./ shell: bash
with: run: mv ./__tests__/verify_windows_install_path.ps1 .
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
freethreaded: ${{ matrix.freethreaded }}
- name: Verify Install Path - name: Verify Install Path
shell: pwsh shell: pwsh
run: | run: |
Set-Location -Path $Env:GITHUB_WORKSPACE Set-Location -Path $Env:GITHUB_WORKSPACE
.\verify_windows_install_path.ps1 ` .\verify_windows_install_path.ps1 `
${{ matrix.architecture }} ` ${{ matrix.architecture }} `
${{ matrix.freethreaded }} ` ${{ matrix.freethreaded }} `
${{ matrix.python-version }} ${{ matrix.python-version }}