30
30
AFNI_IMSAVE_WARNINGS : NO
31
31
AFNI_TTATLAS_DATASET : /opt/afni/atlases
32
32
AFNI_PLUGINPATH : /opt/afni/plugins
33
- ANTSPATH : /opt/ants
34
33
strategy :
35
34
max-parallel : 5
36
35
matrix :
66
65
tcsh @update.afni.binaries -package linux_ubuntu_16_64 -bindir ${AFNI_HOME}
67
66
fi
68
67
69
- - uses : actions/cache@v4
70
- with :
71
- path : /opt/ants
72
- key : ants-v1
73
- restore-keys : |
74
- ants-v1
75
- - name : Install ANTS
76
- run : |
77
- if [[ ! -d "${ANTSPATH}" ]]; then
78
- sudo mkdir -p $ANTSPATH
79
- curl -sSL "https://dl.dropbox.com/s/gwf51ykkk5bifyj/ants-Linux-centos6_x86_64-v2.3.4.tar.gz" | sudo tar -xzC $ANTSPATH --strip-components 1
80
- fi
81
-
82
68
- name : Git settings (pacify DataLad)
83
69
run : |
84
70
git config --global user.name 'NiPreps Bot'
@@ -89,11 +75,11 @@ jobs:
89
75
auto-update-conda : true
90
76
auto-activate-base : true
91
77
python-version : ${{ matrix.python-version }}
92
- channels : anaconda, https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/,conda-forge
78
+ channels : https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/,conda-forge
93
79
- uses : actions/cache@v4
94
80
id : conda
95
81
env :
96
- CACHE_NUM : v4
82
+ CACHE_NUM : v5
97
83
with :
98
84
path : |
99
85
~/conda_pkgs_dir
105
91
run : |
106
92
conda install git-annex=*=alldep* pip
107
93
pip install datalad datalad-osf
108
- - name : Install fsl
94
+ - name : Install fsl and ANTs
109
95
run : |
110
- conda install fsl-fugue fsl-topup
96
+ conda install fsl-fugue fsl-topup ants
111
97
- uses : actions/checkout@v4
112
98
- name : Install dependencies
113
99
timeout-minutes : 5
@@ -187,8 +173,8 @@ jobs:
187
173
188
174
- name : Run pytest with coverage
189
175
run : |
190
- export LD_LIBRARY_PATH=/usr/lib/fsl/5.0:$LD_LIBRARY_PATH
191
- export PATH=$ANTSPATH:${AFNI_HOME}:/usr/lib/fsl/5.0:$PATH
176
+ export PATH=${AFNI_HOME}:$PATH
177
+ export FSLDIR=${CONDA_PREFIX}
192
178
pytest -v --cov sdcflows --cov-report xml:cov.xml --doctest-modules -n auto sdcflows \
193
179
--durations=20 --durations-min=10
194
180
0 commit comments