Skip to content

Commit

Permalink
Fix Runner shell for conda
Browse files Browse the repository at this point in the history
  • Loading branch information
naegelejd committed Nov 15, 2024
1 parent 5f7754f commit 8d51597
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -52,15 +57,13 @@ 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'

#- name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: Build
shell: bash
run: |
mkdir -p build
cd build/
Expand All @@ -73,7 +76,6 @@ jobs:
../
- name: Unit Test
shell: bash
run: |
cd build/
./test_all
Expand Down

0 comments on commit 8d51597

Please sign in to comment.