Skip to content

Commit d8be736

Browse files
authored
CI: Force all git-annex dependencies to be installed (#217)
* MAINT: Force all git-annex dependencies to be installed * MAINT: Ensure consistent checkout paths
1 parent 898adc1 commit d8be736

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.circleci/config.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
command: |
172172
if [[ ! -d /tmp/data/bcp ]]; then
173173
apk update && apk add --no-cache ca-certificates coreutils
174-
conda install -y -c anaconda -c conda-forge git-annex datalad
174+
conda install -y -c conda-forge git-annex=*=alldep* datalad
175175
# set config because datalad says so
176176
git config --global user.name "Nipreps CI"
177177
git config --global user.email "[email protected]"
@@ -215,12 +215,10 @@ jobs:
215215
test_pytest:
216216
<<: *machine_defaults
217217
steps:
218-
- checkout:
219-
path: /home/circleci/src/nibabies
218+
- checkout
220219
- run:
221220
name: Check whether build should be skipped
222221
command: |
223-
cd /home/circleci/src/nibabies
224222
if [[ "$( git log --format='format:%s' -n 1 $CIRCLE_SHA1 | grep -i -E '^docs?(\(\w+\))?:' )" != "" ]]; then
225223
echo "Only docs build"
226224
circleci step halt
@@ -287,12 +285,10 @@ jobs:
287285
- DATASET: bcp
288286
<<: *machine_defaults
289287
steps:
290-
- checkout:
291-
path: /home/circleci/src/nibabies
288+
- checkout
292289
- run:
293290
name: Check whether build should be skipped
294291
command: |
295-
cd /home/circleci/src/nibabies
296292
if [[ "$( git log --format='format:%s' -n 1 $CIRCLE_SHA1 | grep -i -E '^docs?(\(\w+\))?:' )" != "" ]]; then
297293
echo "Only docs build"
298294
circleci step halt
@@ -335,7 +331,7 @@ jobs:
335331
pyenv local $PY3
336332
mkdir -p /tmp/${DATASET}/derivatives
337333
pip install --upgrade pip setuptools
338-
pip install --upgrade /tmp/src/nibabies/wrapper/
334+
pip install --upgrade wrapper/
339335
- run:
340336
name: Run nibabies anatomical with precomputed derivatives
341337
no_output_timeout: 2h
@@ -402,12 +398,10 @@ jobs:
402398
echo "Nothing to deploy for $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME."
403399
circleci step halt
404400
fi
405-
- checkout:
406-
path: /home/circleci/src/nibabies
401+
- checkout
407402
- run:
408403
name: Check whether build should be skipped
409404
command: |
410-
cd /home/circleci/src/nibabies
411405
if [[ "$( git log --format='format:%s' -n 1 $CIRCLE_SHA1 | grep -i -E '^docs?(\(\w+\))?:' )" != "" ]]; then
412406
echo "Only docs build"
413407
circleci step halt
@@ -432,12 +426,10 @@ jobs:
432426
deploy_docker:
433427
<<: *machine_defaults
434428
steps:
435-
- checkout:
436-
path: /home/circleci/src/nibabies
429+
- checkout
437430
- run:
438431
name: Check whether build should be skipped
439432
command: |
440-
cd /home/circleci/src/nibabies
441433
if [[ "$( git log --format='format:%s' -n 1 $CIRCLE_SHA1 | grep -i -E '^docs?(\(\w+\))?:' )" != "" ]]; then
442434
echo "Only docs build"
443435
circleci step halt

0 commit comments

Comments
 (0)