@@ -49,15 +49,22 @@ jobs:
49
49
AFNI_IMSAVE_WARNINGS : NO
50
50
AFNI_TTATLAS_DATASET : /opt/afni/atlases
51
51
AFNI_PLUGINPATH : /opt/afni/plugins
52
+ MARKS : ${{ matrix.marks }}
53
+ DEPENDS : ${{ matrix.dependencies }}
52
54
strategy :
53
- max-parallel : 6
54
55
matrix :
55
56
python-version : ["3.9", "3.10", "3.11", "3.12"]
56
- marks : ["not slow"]
57
+ dependencies : ["latest", "pre"]
58
+ marks : ["fast"]
57
59
include :
58
60
- python-version : " 3.9"
59
- marks : " slow and not veryslow"
61
+ dependencies : " min"
62
+ marks : " fast"
63
+ - python-version : " 3.9"
64
+ dependencies : " latest"
65
+ marks : " slow"
60
66
- python-version : " 3.12"
67
+ dependencies : " latest"
61
68
marks : " veryslow"
62
69
63
70
steps :
94
101
run : |
95
102
git config --global user.name 'NiPreps Bot'
96
103
git config --global user.email '[email protected] '
104
+ - name : Install the latest version of uv
105
+ uses : astral-sh/setup-uv@v4
97
106
- name : Set up Python ${{ matrix.python-version }}
98
107
uses : conda-incubator/setup-miniconda@v3
99
108
with :
@@ -114,8 +123,9 @@ jobs:
114
123
python-${{ matrix.python-version }}-${{ env.CACHE_NUM }}
115
124
- name : Install DataLad
116
125
run : |
117
- conda install git-annex=*=alldep* pip
118
- pip install datalad datalad-osf
126
+ conda install git-annex=*=alldep*
127
+ uv tool install datalad --with=datalad-next --with=datalad-osf
128
+ uv tool install datalad-osf --with=datalad-next
119
129
- name : Install fsl and ANTs
120
130
run : |
121
131
conda install fsl-fugue fsl-topup ants
@@ -198,18 +208,16 @@ jobs:
198
208
mkdir -p $( dirname $FS_LICENSE )
199
209
echo "b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==" | base64 -d > $FS_LICENSE
200
210
201
- - name : Run pytest with coverage
211
+ - name : Install tox
202
212
run : |
203
- export PATH=${AFNI_HOME}:$PATH
204
- export FSLDIR=${CONDA_PREFIX}
205
- pytest -v --cov sdcflows --cov-report xml:cov.xml --doctest-modules -n auto sdcflows \
206
- --durations=20 --durations-min=10 -m "$MARKS"
207
- env :
208
- MARKS : ${{ matrix.marks }}
213
+ uv tool install tox --with=tox-uv --with=tox-gh-actions
214
+ - name : Show tox config
215
+ run : tox c
216
+ - name : Run tox
217
+ run : tox -v --exit-and-dump-after 1200
209
218
210
- - uses : codecov/codecov-action@v4
219
+ - uses : codecov/codecov-action@v5
211
220
with :
212
- file : cov.xml
213
221
token : ${{ secrets.CODECOV_TOKEN }}
214
222
if : ${{ always() }}
215
223
0 commit comments