Skip to content

Commit

Permalink
Update WindowsRelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
r-akemii committed Sep 20, 2024
1 parent 04e6b58 commit 318a416
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/WindowsRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@ jobs:
shell: pwsh
run: |
Copy-Item "qaequilibrae" -Destination "$env:APPDATA\QGIS\QGIS3\profiles\default\python\plugins\qaequilibrae" -Recurse
# $env:PATH=(Get-ChildItem -Path "C:\Program Files" -Directory QGIS*).FullName +"\bin;$env:PATH"
$env:PATH=(Get-ChildItem -Path "C:\Program Files" -Directory QGIS*).FullName +"\bin;$env:PATH"
$env:QGIS_PLUGIN_IN_CI=1
Get-ChildItem -Path "C:\Program Files\QGIS*\bin\*.bat" -Name
- name: Install pytest on Latest
shell: pwsh
if: ${{ (matrix.version == 'qgis')}}
run: |
$qgisPath = (Get-ChildItem -Path "C:\Program Files" -Directory QGIS*).FullName
$env:PATH = "$qgisPath\bin;$qgisPath\apps\Python*\Scripts;$env:PATH"
"$qgisPath\apps\Python*\python.exe" -m pip install -r test/requirements-test.txt
$env:PATH -split ";"
python3.exe -m pip install -r test/requirements-test.txt
- name: Set Location
shell: pwsh
Expand All @@ -50,7 +49,7 @@ jobs:
shell: pwsh
if: ${{ (matrix.version == 'qgis')}}
run: |
"$qgisPath\apps\Python*\python.exe" download_extra_packages_class.py
python3.exe download_extra_packages_class.py
- name: Run tests
shell: pwsh
Expand Down

0 comments on commit 318a416

Please sign in to comment.