Skip to content

Commit

Permalink
isntall qgis with mamba ?
Browse files Browse the repository at this point in the history
  • Loading branch information
ptresson committed Nov 7, 2024
1 parent e04de6a commit 079d363
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,22 @@ jobs:
- run: |
conda init
conda activate test
conda install qgis=3.${{matrix.qgis-minor-version}}
conda install mamba
# conda install qgis=3.${{matrix.qgis-minor-version}}
mamba install qgis=3.${{matrix.qgis-minor-version}}
conda install --file requirements.txt
conda install pytest
shell: bash -el {0}
- name: Check Path in windows
if: matrix.os == 'windows-latest'
run: |
conda activate test
$conda_env_path = (Split-Path -Path (Split-Path -Path (Get-Command python).Path))
# - name: Check Path in windows
# if: matrix.os == 'windows-latest'
# run: |
# conda activate test
# $conda_env_path = (Split-Path -Path (Split-Path -Path (Get-Command python).Path))

# Update PATH to include the "Library\bin" directory for the conda environment
Add-Content -Path $Env:GITHUB_ENV -Value "PATH=$conda_env_path\Library\bin;$Env:PATH"
shell: powershell
# # Update PATH to include the "Library\bin" directory for the conda environment
# Add-Content -Path $Env:GITHUB_ENV -Value "PATH=$conda_env_path\Library\bin;$Env:PATH"
# shell: powershell

- name: Tests
run: |
Expand Down

0 comments on commit 079d363

Please sign in to comment.