File tree Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Expand file tree Collapse file tree 1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change 6
6
# Allow job to be triggered manually from GitHub interface
7
7
workflow_dispatch :
8
8
9
+ defaults :
10
+ run :
11
+ shell : bash
12
+
13
+ # Force tox and pytest to use color
14
+ env :
15
+ FORCE_COLOR : true
16
+ TEST_DATA_HOME : /home/runner/nifreeze-tests/
17
+ NIFREEZE_WERRORS : 1
18
+ TEST_DATA_REPO : https://gin.g-node.org/nipreps-data/tests-nifreeze
19
+
20
+ concurrency :
21
+ group : ${{ github.workflow }}-${{ github.ref }}
22
+ cancel-in-progress : true
23
+
24
+ permissions :
25
+ contents : read
26
+
9
27
jobs :
10
28
run-notebooks :
11
- runs-on : ubuntu-latest
29
+ runs-on : ' ubuntu-latest'
12
30
13
31
strategy :
14
32
matrix :
23
41
with :
24
42
python-version : ${{ matrix.python-version }}
25
43
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
+
26
49
- name : Install TeX Live
27
50
run : |
28
51
sudo apt-get update
46
69
python -m pip install --upgrade pip
47
70
pip install tox
48
71
49
- - name : Download data
72
+ - name : Download data from OpenNeuro
50
73
run : |
51
- DATA_PATH="${{ env.TEST_DATA_HOME || github.workspace }}/nifreeze-tests"
52
- mkdir -p "$DATA_PATH"
53
- bash scripts/fetch_fmri_nb_openneuro_data.sh "$DATA_PATH"
74
+ ${{ github.workspace }}/scripts/fetch_fmri_nb_openneuro_data.sh "${TEST_DATA_HOME}"
54
75
55
76
- name : Run notebooks with tox
56
77
run : tox -e notebooks
You can’t perform that action at this time.
0 commit comments