From 10680ec554ffcfb5dc3b5007c23fb01820eb4eba Mon Sep 17 00:00:00 2001 From: lorenzo Date: Fri, 6 Sep 2024 15:06:12 +0200 Subject: [PATCH] use micromamba to run python cli --- .github/workflows/build_and_test.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 719ae0f..a127f5f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -33,17 +33,13 @@ jobs: -c conda-forge python=${{ matrix.python-version }} ilastik --no-channel-priority - init-shell: >- - bash - - cache-environment: true post-cleanup: 'all' - name: Install package - run: python -m pip install -e .[dev] + run: micromamba run -n ilastik-tasks python -m pip install -e .[dev] - name: Regenerate the manifest - run: python src/ilastik_tasks/dev/create_manifest.py + run: micromamba run -n ilastik-tasks python src/ilastik_tasks/dev/create_manifest.py - name: Check if manifest has changed run: | @@ -55,4 +51,4 @@ jobs: fi - name: Test core library with pytest - run: python -m pytest tests \ No newline at end of file + run: micromamba run -n ilastik-tasks python -m pytest tests \ No newline at end of file