Commit 2cc3012
committed
TST: Avoid attempting to create test data directory in notebook GHA
Avoid attempting to create test data directory in notebook GHA workflow
file: create testing data directory before starting to download data.
The step where the data from `OpenNeuro` was being downloaded was
effectively creating the test data directory and, thus, attempting to
create the directory was failinng in the next step, where the data from
OSF was bing downloaded, and which included creating the directory.
Fixes:
```
Run mkdir ${TEST_DATA_HOME}
(...)
mkdir: cannot create directory ‘/home/runner/nifreeze-tests/’: File exists
```
raised for example at:
https://github.com/nipreps/nifreeze/actions/runs/15097105297/job/42433228274?pr=117#step:11:19
Inadvertently introduced in commit c170c40.1 parent 398d7ab commit 2cc3012
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
0 commit comments