From 7fc7a2dcbf0eb68801d4e56ab1f0c26488b4d35f Mon Sep 17 00:00:00 2001 From: k-dominik Date: Tue, 28 Nov 2023 15:30:40 +0100 Subject: [PATCH] use miniconda with libmamba --- .github/workflows/etc/build-env.yaml | 1 - .github/workflows/etc/ilastik-env.yaml | 1 - .github/workflows/test.yml | 12 ++++++------ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/etc/build-env.yaml b/.github/workflows/etc/build-env.yaml index 6fd8cbef..c4fe78be 100644 --- a/.github/workflows/etc/build-env.yaml +++ b/.github/workflows/etc/build-env.yaml @@ -1,4 +1,3 @@ -name: build-env channels: - conda-forge - ilastik-forge diff --git a/.github/workflows/etc/ilastik-env.yaml b/.github/workflows/etc/ilastik-env.yaml index b5ede65e..5a17eae5 100644 --- a/.github/workflows/etc/ilastik-env.yaml +++ b/.github/workflows/etc/ilastik-env.yaml @@ -1,4 +1,3 @@ -name: ilastik-env channels: - conda-forge - ilastik-forge diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ce77a4d..5f49b091 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,10 +20,10 @@ jobs: - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: ilastik-env - auto-update-conda: true environment-file: .github/workflows/etc/ilastik-env.yaml - miniforge-version: latest - use-mamba: true + # miniforge-version: latest + auto-update-conda: true + conda-solver: libmamba - name: linux test if: matrix.os == 'ubuntu-latest' shell: bash -l {0} @@ -40,8 +40,8 @@ jobs: if: matrix.os == 'windows-latest' shell: cmd /C CALL {0} # auto activation of env does not seem to work on win - run: | - pip install -e . & pytest + run: >- + pip install -e . && pytest - uses: codecov/codecov-action@v3 if: matrix.os == 'ubuntu-latest' with: @@ -66,7 +66,7 @@ jobs: activate-environment: build-env environment-file: .github/workflows/etc/build-env.yaml auto-update-conda: true - miniforge-version: latest + # miniforge-version: latest use-mamba: true - name: linux conda build test if: matrix.os == 'ubuntu-latest'