Skip to content

Commit d6cdef9

Browse files
committed
TST: Download data from G-Node GIN in notebook testing GHA workflow
Download data from `G-Node` `GIN` in notebook testing GHA workflow. Fixes: ``` /home/runner/work/nifreeze/nifreeze/docs/notebooks/dmri_covariance.ipynb hcpdata = np.load(DATA_PATH/"hcpdata.npz") FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/nifreeze-tests/hcpdata.npz' ``` raised for example in: https://github.com/jhlegarreta/nifreeze/actions/runs/14814107025/job/41592479776#step:10:64
1 parent d2c19c8 commit d6cdef9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/notebooks.yml

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

44+
- name: Download data file from G-Node GIN
45+
run: |
46+
mkdir ${TEST_DATA_HOME}
47+
curl -L -o "${TEST_DATA_HOME}/hcpdata.npz" https://gin.g-node.org/nipreps-data/tests-nifreeze/src/master/hcpdata.npz
48+
4449
- name: Install TeX Live
4550
run: |
4651
sudo apt-get update

0 commit comments

Comments
 (0)