File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ stages:
133133 key : $(testing_version)
134134 path : /home/vsts/mne_data
135135 displayName : ' Cache testing data'
136- - script : python -c "import mne; mne.datasets.testing.data_path(verbose=True)"
136+ - bash : ./tools/github_actions_download.sh
137137 displayName : ' Get test data'
138138 - script : pytest -m "ultraslowtest or pgtest" --tb=short --cov=mne --cov-report=xml -vv mne
139139 displayName : ' slow and mne-qt-browser tests'
@@ -188,7 +188,7 @@ stages:
188188 key : $(testing_version)
189189 path : /home/vsts/mne_data
190190 displayName : ' Cache testing data'
191- - script : python -c "import mne; mne.datasets.testing.data_path(verbose=True)"
191+ - bash : ./tools/github_actions_download.sh
192192 displayName : ' Get test data'
193193 - bash : |
194194 set -eo pipefail
@@ -285,7 +285,7 @@ stages:
285285 key : $(testing_version)
286286 path : C:\Users\VssAdministrator\mne_data
287287 displayName : ' Cache testing data'
288- - script : python -c "import mne; mne.datasets.testing.data_path(verbose=True)"
288+ - bash : ./tools/github_actions_download.sh
289289 displayName : ' Get test data'
290290 - script : pytest -m "not (slowtest or pgtest)" --tb=short --cov=mne --cov-report=xml -vv mne
291291 displayName : ' Run tests'
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ if [ "${MNE_CI_KIND}" != "minimal" ]; then
44 python -c ' import mne; mne.datasets.testing.data_path(verbose=True)' ;
55 python -c " import mne; mne.datasets.misc.data_path(verbose=True)" ;
66 # Make read-only to make sure we don't modify its contents
7- PATH=$( python -c " import mne; print(mne.datasets.testing.data_path(verbose=False))" )
8- chmod -R a-w " $PATH "
7+ TESTING_PATH=$( python -c " import mne; print(mne.datasets.testing.data_path(verbose=False))" )
8+ echo " Testing data path: $TESTING_PATH "
9+ chmod -R a-w " $TESTING_PATH "
910fi
You can’t perform that action at this time.
0 commit comments