Modified workflows to enhance the testing in accordance with latest changes

This commit is contained in:
priya-kinthali 2024-10-14 18:28:08 +05:30
parent 7234b81688
commit fa256f775a
1 changed files with 2 additions and 10 deletions

View File

@ -474,15 +474,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: os: [ubuntu-latest, windows-latest, macos-latest, macos-13, ubuntu-20.04, ubuntu-22.04]
[
ubuntu-20.04,
ubuntu-22.04,
ubuntu-latest,
windows-latest,
macos-latest,
macos-13
]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Python and check latest - name: Setup Python and check latest
@ -495,7 +487,7 @@ jobs:
- name: Validate version - name: Validate version
run: | run: |
$pythonVersion = (python --version) $pythonVersion = (python --version)
if ("$pythonVersion" -NotMatch "3.12"){ if ("$pythonVersion" -NotMatch "3.13"){
Write-Host "The current version is $pythonVersion; expected version is 3.12" Write-Host "The current version is $pythonVersion; expected version is 3.12"
exit 1 exit 1
} }