Skip to content

Commit

Permalink
use Miniforge3 instead of mambaforge
Browse files Browse the repository at this point in the history
  • Loading branch information
k-dominik committed Dec 11, 2023
1 parent 38eb37f commit dcc2468
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/etc/build-env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
channels:
- conda-forge
- ilastik-forge
dependencies:
- conda-build
- setuptools_scm
- boa
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
15 changes: 6 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: ilastik-env
auto-activate-base: false
auto-update-conda: true
environment-file: .github/workflows/etc/ilastik-env.yaml
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
- name: linux test
if: matrix.os == 'ubuntu-latest'
Expand All @@ -41,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 @@ -64,13 +63,11 @@ jobs:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: ""
auto-activate-base: true
activate-environment: build-env
environment-file: .github/workflows/etc/build-env.yaml
auto-update-conda: true
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
- name: install build deps
run: mamba install -n base -c conda-forge boa setuptools_scm -y
- name: linux conda build test
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
Expand Down

0 comments on commit dcc2468

Please sign in to comment.