fix: existing datalad datasets
@@ -146,7 +146,9 @@ jobs:
- run:
name: Get test data from ds000003
command: |
+ if [[ ! -d ds000003 ]]; then
datalad install -r https://github.com/nipreps-data/ds000003.git
+ fi
datalad update -r --merge -d ds000003/
datalad get -J 2 -r -d ds000003/ ds000003/*
@@ -212,7 +214,9 @@ jobs:
- run:
name: Install epi-references
command: |
+ if [[ ! -d epi-references ]]; then
datalad install -r https://github.com/nipreps-data/epi-references.git
+ fi
datalad update -r --merge -d epi-references/
datalad get -J 2 -r -d epi-references/ epi-references/*
- save_cache:
@@ -334,7 +338,7 @@ jobs:
at: /tmp
- run:
- name: Check if regression data must be downloaded
+ name: Determine whether regression tests (masks) must be executed
command: |
cd /tmp/src/niworkflows
set +e
@@ -433,8 +437,6 @@ jobs:
-e COVERAGE_FILE=/tmp/masks/reports/.coverage \
-v /tmp/masks/reports:/tmp/masks/reports \
niworkflows:latest coverage xml -o coverage.xml
- - checkout:
- path: /tmp/src/niworkflows
- run:
name: Get codecov
command: python -m pip install codecov
