@@ -82,9 +82,9 @@ stages:
8282 variables :
8383 AZURE_CI : ' true'
8484 jobs :
85- - job : Ultraslow_PG
85+ - job : Linux_Ultraslow_PG
8686 pool :
87- vmImage : ' ubuntu-22.04 '
87+ vmImage : ' ubuntu-latest '
8888 variables :
8989 DISPLAY : ' :99'
9090 OPENBLAS_NUM_THREADS : ' 1'
@@ -93,7 +93,7 @@ stages:
9393 MNE_BROWSER_PRECOMPUTE : ' false'
9494 steps :
9595 - bash : |
96- set -e
96+ set -eo pipefail
9797 ./tools/setup_xvfb.sh
9898 sudo apt install -yq tcsh
9999 displayName: 'Install Ubuntu dependencies'
@@ -112,19 +112,19 @@ stages:
112112 addToPath : true
113113 displayName : ' Get Python'
114114 - bash : |
115- set -e
115+ set -eo pipefail
116116 python -m pip install --progress-bar off --upgrade pip
117117 python -m pip install --progress-bar off "mne-qt-browser[opengl] @ git+https://github.com/mne-tools/mne-qt-browser.git" pyvista scikit-learn python-picard qtpy nibabel sphinx-gallery "PySide6!=6.8.0,!=6.8.0.1,!=6.8.1.1,!=6.9.1" pandas neo pymatreader antio defusedxml curryreader pymef
118118 python -m pip uninstall -yq mne
119119 python -m pip install --progress-bar off --upgrade -e . --group=test
120120 displayName: 'Install dependencies with pip'
121121 - bash : |
122- set -e
122+ set -eo pipefail
123123 mne sys_info -pd
124124 mne sys_info -pd | grep "qtpy .*(PySide6=.*)$"
125125 displayName: Print config
126126 - bash : |
127- set -e
127+ set -eo pipefail
128128 LD_DEBUG=libs python -c "from PySide6.QtWidgets import QApplication, QWidget; app = QApplication([]); import matplotlib; matplotlib.use('QtAgg'); import matplotlib.pyplot as plt; plt.figure()"
129129 - bash : source tools/get_testing_version.sh
130130 displayName : ' Get testing version'
@@ -141,19 +141,10 @@ stages:
141141 - bash : bash <(curl -s https://codecov.io/bash)
142142 displayName : ' Codecov'
143143 condition : succeededOrFailed()
144- - task : PublishTestResults@2
145- inputs :
146- testResultsFiles : ' **/junit-*.xml'
147- testRunTitle : ' Publish test results for $(Agent.JobName)'
148- failTaskOnFailedTests : true
149- condition : succeededOrFailed()
150- - task : PublishCodeCoverageResults@2
151- inputs :
152- summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml'
153144
154- - job : Qt
145+ - job : Linux_Qt_Bindings
155146 pool :
156- vmImage : ' ubuntu-22.04 '
147+ vmImage : ' ubuntu-latest '
157148 variables :
158149 DISPLAY : ' :99'
159150 OPENBLAS_NUM_THREADS : ' 1'
@@ -169,7 +160,7 @@ stages:
169160 addToPath : true
170161 displayName : ' Get Python'
171162 - bash : |
172- set -e
163+ set -eo pipefail
173164 python -m pip install --progress-bar off --upgrade pip
174165 python -m pip install --progress-bar off --upgrade --pre --only-binary=\"numpy,scipy,matplotlib,vtk\" numpy scipy matplotlib vtk
175166 python -c "import vtk"
@@ -223,15 +214,6 @@ stages:
223214 - bash : bash <(curl -s https://codecov.io/bash)
224215 displayName : ' Codecov'
225216 condition : succeededOrFailed()
226- - task : PublishTestResults@2
227- inputs :
228- testResultsFiles : ' **/junit-*.xml'
229- testRunTitle : ' Publish test results for $(Agent.JobName)'
230- failTaskOnFailedTests : true
231- condition : succeededOrFailed()
232- - task : PublishCodeCoverageResults@2
233- inputs :
234- summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml'
235217
236218 - job : Windows
237219 pool :
@@ -250,9 +232,9 @@ stages:
250232 strategy :
251233 maxParallel : 4
252234 matrix :
253- 3.10 pip :
235+ 3.11 pip :
254236 TEST_MODE : ' pip'
255- PYTHON_VERSION : ' 3.10 '
237+ PYTHON_VERSION : ' 3.11 '
256238 3.13 pip pre :
257239 TEST_MODE : ' pip-pre'
258240 PYTHON_VERSION : ' 3.13'
@@ -292,12 +274,3 @@ stages:
292274 - bash : bash <(curl -s https://codecov.io/bash)
293275 displayName : ' Codecov'
294276 condition : succeededOrFailed()
295- - task : PublishTestResults@2
296- inputs :
297- testResultsFiles : ' **/junit-*.xml'
298- testRunTitle : ' Publish test results for $(Agent.JobName) $(TEST_MODE) $(PYTHON_VERSION)'
299- failTaskOnFailedTests : true
300- condition : succeededOrFailed()
301- - task : PublishCodeCoverageResults@2
302- inputs :
303- summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml'
0 commit comments