Skip to content

Commit cf3ae11

Browse files
committed
Merge remote-tracking branch 'upstream/maint/1.3.x'
2 parents f0a2fef + 0fb914b commit cf3ae11

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

.circleci/config.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ _pull_from_registry: &pull_from_registry
4343
version: 2.1
4444
orbs:
4545
docker: circleci/[email protected]
46+
codecov: codecov/[email protected]
4647

4748
jobs:
4849
build:
@@ -144,7 +145,6 @@ jobs:
144145

145146
- restore_cache:
146147
keys:
147-
- data-v3-{{ .Branch }}-{{ epoch }}
148148
- data-v3-{{ .Branch }}-
149149
- data-v3-master-
150150
- data-v3-
@@ -205,10 +205,6 @@ jobs:
205205
steps:
206206
- attach_workspace:
207207
at: /tmp
208-
- run:
209-
name: Install pipx
210-
command: pip3 install pipx
211-
212208
- restore_cache:
213209
keys:
214210
- build-v1-{{ .Branch }}-{{ .Revision }}
@@ -219,7 +215,6 @@ jobs:
219215

220216
- restore_cache:
221217
keys:
222-
- data-v3-{{ .Branch }}-{{ epoch }}
223218
- data-v3-{{ .Branch }}-
224219
- data-v3-master-
225220

@@ -241,12 +236,9 @@ jobs:
241236
--ignore=niworkflows/func/tests/ \
242237
--pyargs niworkflows
243238
244-
- run:
245-
name: Submit unit test coverage
246-
command: |
247-
cd /tmp/src/niworkflows
248-
pipx run codecov --file /tmp/tests/summaries/unittests.xml \
249-
--flags unittests -e CIRCLE_JOB
239+
- codecov/upload:
240+
file: /tmp/tests/summaries/unittests.xml
241+
flags: unittests
250242

251243
- run:
252244
name: Run reportlet tests
@@ -261,12 +253,10 @@ jobs:
261253
pytest -n auto --junit-xml=/tmp/summaries/reportlets.xml \
262254
--cov niworkflows --cov-report xml:/tmp/summaries/reportlets.xml \
263255
--pyargs niworkflows.tests
264-
- run:
265-
name: Submit reportlet test coverage
266-
command: |
267-
cd /tmp/src/niworkflows
268-
pipx run codecov --file /tmp/tests/summaries/reportlets.xml \
269-
--flags reportlettests -e CIRCLE_JOB
256+
257+
- codecov/upload:
258+
file: /tmp/tests/summaries/reportlets.xml
259+
flags: reportlettests
270260

271261
- run:
272262
name: Clean up tests directory

0 commit comments

Comments
 (0)