From 8d51597c448c242f2db7b9a336f51f9284531400 Mon Sep 17 00:00:00 2001 From: Joe Naegele Date: Fri, 15 Nov 2024 21:34:10 +0000 Subject: [PATCH] Fix Runner shell for conda --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8bbcad5..65dc9258 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,11 @@ permissions: env: CONDA_CACHE_NUMBER: 1 +defaults: + run: + # See https://github.com/marketplace/actions/setup-miniconda#important + shell: bash -el {0} + jobs: build-and-test: #runs-on: ["self-hosted", "1ES.Pool=biomedsigproc-github-NC6s_v3"] @@ -52,7 +57,6 @@ jobs: env.CONDA_CACHE_NUMBER }} - name: Update Environment - shell: bash -el {0} run: conda env update -n gadgetron -f environment.yml if: steps.cache-conda.outputs.cache-hit != 'true' @@ -60,7 +64,6 @@ jobs: # uses: mxschmitt/action-tmate@v3 - name: Build - shell: bash run: | mkdir -p build cd build/ @@ -73,7 +76,6 @@ jobs: ../ - name: Unit Test - shell: bash run: | cd build/ ./test_all