From b75699a654699502a10c0ebbadd014ae96974e03 Mon Sep 17 00:00:00 2001 From: Ravnoor Gill Date: Sun, 15 Dec 2024 17:33:27 -0500 Subject: [PATCH] feat(ci): switch to micromamba from conda --- .github/workflows/test-inference-pipeline.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-inference-pipeline.yml b/.github/workflows/test-inference-pipeline.yml index 43fce31..4965f11 100644 --- a/.github/workflows/test-inference-pipeline.yml +++ b/.github/workflows/test-inference-pipeline.yml @@ -19,21 +19,17 @@ jobs: - name: Install dependencies for deepMask run: | - eval "$(conda shell.bash hook)" - conda create -n preprocess python=3.8 - conda activate preprocess + eval "$(micromamba shell hook -s posix)" + micromamba create -n preprocess python=3.8 --yes + micromamba activate preprocess python -m pip install -r ./app/deepMask/app/requirements.txt - conda deactivate + micromamba deactivate - name: Install dependencies for deepFCD run: | - eval "$(conda shell.bash hook)" - conda create -n deepFCD python=3.8 - conda activate deepFCD python -m pip install -r ./app/requirements.txt - conda install -c conda-forge pygpu==0.7.6 + micromamba install -c conda-forge pygpu==0.7.6 --yes pip cache purge - conda deactivate - name: Download openneuro.org dataset to test the inference pipeline # https://openneuro.org/datasets/ds004199/versions/1.0.5 run: |