Skip to content

Commit a27812f

Browse files
authored
Merge pull request #123 from jhlegarreta/ReorderNotebookGHAWorkflowFile
STY: Reorder notebook GHA workflow file steps for improved logic
2 parents ebfcbd8 + c170c40 commit a27812f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/notebooks.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ jobs:
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343

44-
- name: Download data file from OSF
45-
run: |
46-
mkdir ${TEST_DATA_HOME}
47-
pip install osfclient
48-
osf -p 39k4x fetch hcpdata.npz "${TEST_DATA_HOME}/hcpdata.npz"
49-
5044
- name: Install TeX Live
5145
run: |
5246
sudo apt-get update
@@ -65,14 +59,20 @@ jobs:
6559
- name: Install DataLad
6660
run: pip install datalad
6761

62+
- name: Download data from OpenNeuro
63+
run: |
64+
${{ github.workspace }}/scripts/fetch_fmri_nb_openneuro_data.sh "${TEST_DATA_HOME}"
65+
66+
- name: Download data from OSF
67+
run: |
68+
mkdir ${TEST_DATA_HOME}
69+
pip install osfclient
70+
osf -p 39k4x fetch hcpdata.npz "${TEST_DATA_HOME}/hcpdata.npz"
71+
6872
- name: Install tox
6973
run: |
7074
python -m pip install --upgrade pip
7175
pip install tox
7276
73-
- name: Download data from OpenNeuro
74-
run: |
75-
${{ github.workspace }}/scripts/fetch_fmri_nb_openneuro_data.sh "${TEST_DATA_HOME}"
76-
7777
- name: Run notebooks with tox
7878
run: tox -e notebooks

0 commit comments

Comments
 (0)