Skip to content

Commit 737252a

Browse files
committed
CI: Update chunks of Circle config from master
1 parent dd74494 commit 737252a

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.circleci/config.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,19 @@ jobs:
9797
steps:
9898
- restore_cache:
9999
keys:
100-
- env-v1-{{ .Branch }}-
101-
- env-v1-master-
102-
- env-v1-
100+
- env-v2-{{ .Branch }}-
101+
- env-v2-master-
102+
- env-v2-
103103
- run:
104104
name: Setup git-annex, DataLad & TemplateFlow
105105
command: |
106-
conda install -y -c anaconda -c conda-forge git-annex datalad wget
107-
python -m pip install --no-cache-dir -U datalad-osf
106+
apk update && apk add --no-cache coreutils
107+
conda install -y -c conda-forge python=*=*cpython datalad git wget
108+
python -m pip install --no-cache-dir -U datalad-osf templateflow
108109
git config --global user.name 'NiPreps Bot'
109110
git config --global user.email '[email protected]'
110-
python -m pip install --no-cache-dir -U templateflow
111111
- save_cache:
112-
key: env-v1-{{ .Branch }}-{{ .BuildNum }}
112+
key: env-v2-{{ .Branch }}-{{ .BuildNum }}
113113
paths:
114114
- /opt/conda
115115

@@ -128,6 +128,15 @@ jobs:
128128
datalad update -r --merge -d ds000003/
129129
datalad get -J 2 -r -d ds000003/ ds000003/*
130130
131+
- run:
132+
name: Get test data from ds000030
133+
command: |
134+
if [[ ! -d ds000030 ]]; then
135+
datalad install -r https://github.com/nipreps-data/ds000030.git
136+
fi
137+
datalad update -r --merge -d ds000030/
138+
datalad get -J 2 -r -d ds000030/ ds000030/sub-10228/func/*
139+
131140
- run:
132141
name: Get BIDS test data stub
133142
command: |
@@ -143,6 +152,7 @@ jobs:
143152
key: data-v3-{{ .Branch }}-{{ epoch }}
144153
paths:
145154
- /tmp/data/ds000003
155+
- /tmp/data/ds000030
146156
- /tmp/data/BIDS-examples-1-enh-ds054
147157
- run:
148158
name: Store FreeSurfer license file

0 commit comments

Comments
 (0)