Skip to content

Commit

Permalink
env fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taha-abdullah committed Sep 9, 2024
1 parent 36b7221 commit 2d0df4b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/quicktest_runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ jobs:
echo "Error: FreeSurfer installation directory does not exist at $FREESURFER_HOME"
exit 1
fi
- name: create env
run: |
if [[ "$(md5sum /fastsurfer/fastsurfer-pytest.yml)" != "$(md5sum env/fastsurfer.yml)" ]] ; then
mamba env create -n "fastsurfer_$GITHUB_SHA" -f env/fastsurfer.yml
mamba activate "fastsurfer_$GITHUB_SHA"
fi
# - name: create env
# run: |
# if [[ "$(md5sum /fastsurfer/fastsurfer-pytest.yml)" != "$(md5sum env/fastsurfer.yml)" ]] ; then
# mamba env create -n "fastsurfer_$GITHUB_SHA" -f env/fastsurfer.yml
# mamba activate "fastsurfer_$GITHUB_SHA"
# fi
- name: Run FastSurfer
run: |
echo "Running FastSurfer..."
Expand All @@ -78,11 +78,11 @@ jobs:
--sd $SUBJECTS_DIR/$THIS_RUN_OUTDIR \
--parallel --threads 4 --3T --parallel_subjects surf
export TEST_DIR=$THIS_RUN_OUTDIR
- name: cleanup
run: |
if [[ "$(md5sum /fastsurfer/fastsurfer.yml)" != "$(md5sum env/fastsurfer.yml)" ]] ; then
mamba env remove -n "fastsurfer_$GITHUB_SHA"
fi
# - name: cleanup
# run: |
# if [[ "$(md5sum /fastsurfer/fastsurfer.yml)" != "$(md5sum env/fastsurfer.yml)" ]] ; then
# mamba env remove -n "fastsurfer_$GITHUB_SHA"
# fi

# Test fastsurfer output
run-pytest:
Expand Down

0 comments on commit 2d0df4b

Please sign in to comment.