Skip to content

Commit

Permalink
use miniconda with libmamba
Browse files Browse the repository at this point in the history
  • Loading branch information
k-dominik committed Nov 28, 2023
1 parent f37c835 commit 7fc7a2d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/etc/build-env.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: build-env
channels:
- conda-forge
- ilastik-forge
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/etc/ilastik-env.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: ilastik-env
channels:
- conda-forge
- ilastik-forge
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit 7fc7a2d

Please sign in to comment.