Skip to content

Commit 38bca53

Browse files
committed
FIX: Skips
1 parent 1c269cf commit 38bca53

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ stages:
134134
DISPLAY: ':99'
135135
OPENBLAS_NUM_THREADS: '1'
136136
TEST_OPTIONS: "--tb=short --cov=mne --cov-report=xml --cov-append -vv mne/gui mne/viz/_brain mne/viz/backends mne/viz/tests/test_evoked.py mne/report"
137-
MNE_TEST_ALLOW_SKIP: '^$' # nothing
137+
MNE_TEST_ALLOW_SKIP: '^$' # nothing (can be overridden below)
138138
steps:
139139
- bash: ./tools/setup_xvfb.sh
140140
- task: UsePythonVersion@0
@@ -204,16 +204,19 @@ stages:
204204
PYTHONUNBUFFERED: 1
205205
AZURE_CI_WINDOWS: 'true'
206206
MNE_CI_KIND: $(TEST_MODE)
207+
MNE_TEST_ALLOW_SKIP: $(MNE_TEST_ALLOW_SKIP)
207208
timeoutInMinutes: 95
208209
strategy:
209210
maxParallel: 4
210211
matrix:
211212
3.11 pip:
212213
TEST_MODE: 'pip'
213214
PYTHON_VERSION: '3.11'
215+
MNE_TEST_ALLOW_SKIP: "^.*(Requires MNE-C|CUDA not| on Windows|MNE_FORCE_SERIAL|PySide6 causes segfaults).*$"
214216
3.13 pip pre:
215217
TEST_MODE: 'pip-pre'
216218
PYTHON_VERSION: '3.13'
219+
MNE_TEST_ALLOW_SKIP: "^.*(Requires (spm|brainstorm) dataset|Requires MNE-C|CUDA not|Numba not| on Windows|MNE_FORCE_SERIAL|PySide6 causes segfaults).*$"
217220
steps:
218221
- task: UsePythonVersion@0
219222
inputs:

tools/azure_dependencies.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ if [ "${TEST_MODE}" == "pip" ]; then
99
elif [ "${TEST_MODE}" == "pip-pre" ]; then
1010
${SCRIPT_DIR}/install_pre_requirements.sh
1111
python -m pip install $STD_ARGS --pre -e . --group=test_extra
12-
echo "##vso[task.setvariable variable=MNE_TEST_ALLOW_SKIP].*(Requires (spm|brainstorm) dataset|Requires MNE-C|CUDA not|Numba not| on Windows|MNE_FORCE_SERIAL).*"
1312
else
1413
echo "Unknown run type ${TEST_MODE}"
1514
exit 1

0 commit comments

Comments
 (0)