From 7d675eb1676f1a4daeaf93cbf12539371a8eb46f Mon Sep 17 00:00:00 2001 From: ptresson Date: Fri, 8 Nov 2024 11:09:01 +0100 Subject: [PATCH] test with mamba --- .github/workflows/jobs.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/jobs.yml b/.github/workflows/jobs.yml index 689c119..2753649 100644 --- a/.github/workflows/jobs.yml +++ b/.github/workflows/jobs.yml @@ -27,19 +27,19 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Conda - uses: conda-incubator/setup-miniconda@v3 + - name: Set up mamba + # uses: conda-incubator/setup-miniconda@v3 + uses: mamba-org/setup-micromamba@v1 with: python-version: 3.${{matrix.python-minor-version}} channels: conda-forge - run: | - conda init - conda activate test - conda install mamba + mamba init + mamba activate test # conda install qgis=3.${{matrix.qgis-minor-version}} mamba install qgis=3.${{matrix.qgis-minor-version}} - conda install --file requirements.txt - conda install pytest + mamba install --file requirements.txt + mamba install pytest shell: bash -el {0} # - name: Check Path in windows @@ -54,6 +54,6 @@ jobs: - name: Tests run: | - conda activate test + mamba activate test pytest tests/ shell: bash -el {0}