Bump tests/data/bids-examples from 4f93568
to ad9db4b
#307
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: system_test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
system_test: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.12'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y git-annex tree | |
python -m pip install --upgrade pip | |
- name: Install | |
run: pip install .[test] | |
- name: Post-install | |
run: | | |
git config --global --add user.name "Ford Escort" | |
git config --global --add user.email [email protected] | |
- name: Check set up | |
run: | | |
datalad wtf | |
cohort_creator --version | |
- name: install datasets | |
run: | | |
cohort_creator install \ | |
-d tests/data/datasets.tsv \ | |
-p tests/data/participants.tsv \ | |
-o outputs \ | |
--dataset_types raw mriqc fmriprep \ | |
--verbosity 3 | |
- name: get data | |
run: | | |
cohort_creator get \ | |
-d tests/data/datasets.tsv \ | |
-p tests/data/participants.tsv \ | |
-o outputs \ | |
--dataset_types raw mriqc fmriprep \ | |
--datatype anat func \ | |
--space MNI152NLin2009cAsym \ | |
--jobs 6 \ | |
--verbosity 3 | |
- name: copy data | |
run: | | |
cohort_creator copy \ | |
-d tests/data/datasets.tsv \ | |
-p tests/data/participants.tsv \ | |
-o outputs \ | |
--dataset_types raw mriqc fmriprep \ | |
--datatype anat func \ | |
--space MNI152NLin2009cAsym \ | |
--verbosity 3 | |
- name: datasets as list of strings | |
run: cohort_creator install -d ds000001 ds000002 -o outputs | |
- name: Check outputs | |
run: | | |
cat outputs/logs/docker.log | |
tree -L 2 --dirsfirst outputs | |
tree --dirsfirst outputs/study-ds000002 |