Skip to content

Commit 2f35fb9

Browse files
committed
FIX: Unify [skip circle]
1 parent 8741ced commit 2f35fb9

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'

tools/github_actions_download.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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"
910
fi

0 commit comments

Comments
 (0)