From 079d363eb2814924dda070fafa60290582686399 Mon Sep 17 00:00:00 2001 From: ptresson Date: Thu, 7 Nov 2024 11:49:29 +0100 Subject: [PATCH] isntall qgis with mamba ? https://stackoverflow.com/questions/77059426/module-not-found-error-after-qgis-installation --- .github/workflows/jobs.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/jobs.yml b/.github/workflows/jobs.yml index 7178e82..689c119 100644 --- a/.github/workflows/jobs.yml +++ b/.github/workflows/jobs.yml @@ -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: |