@@ -78,13 +78,6 @@ stages:
78
78
versionSpec : ' $(python.version)'
79
79
architecture : ' x64'
80
80
displayName : ' Use Python $(python.version)'
81
- condition : and(succeeded(), ne(variables['python.version'], 'Pre'))
82
-
83
- - task : stevedower.python.InstallPython.InstallPython@1
84
- displayName : ' Use prerelease Python'
85
- inputs :
86
- prerelease : true
87
- condition : and(succeeded(), eq(variables['python.version'], 'Pre'))
88
81
89
82
- bash : |
90
83
set -e
@@ -136,8 +129,7 @@ stages:
136
129
- bash : |
137
130
python -m pip install --upgrade pip
138
131
python -m pip install --upgrade meson-python pybind11
139
- python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt ||
140
- [[ "$PYTHON_VERSION" = 'Pre' ]]
132
+ python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt
141
133
displayName: 'Install dependencies with pip'
142
134
143
135
- bash : |
@@ -161,8 +153,7 @@ stages:
161
153
162
154
python -m pip install \
163
155
--no-build-isolation $CONFIG \
164
- --verbose --editable .[dev] ||
165
- [[ "$PYTHON_VERSION" = 'Pre' ]]
156
+ --verbose --editable .[dev]
166
157
displayName: "Install self"
167
158
168
159
- script : env
@@ -227,8 +218,7 @@ stages:
227
218
fi
228
219
PYTHONFAULTHANDLER=1 pytest -raR -n 2 \
229
220
--maxfail=50 --timeout=300 --durations=25 \
230
- --junitxml=junit/test-results.xml --cov-report=xml --cov=lib ||
231
- [[ "$PYTHON_VERSION" = 'Pre' ]]
221
+ --junitxml=junit/test-results.xml --cov-report=xml --cov=lib
232
222
if [[ -n $SESSION_ID ]]; then
233
223
if [[ $VS_VER == 2022 ]]; then
234
224
"$TOOL" shutdown $SESSION_ID
@@ -285,4 +275,4 @@ stages:
285
275
286
276
- publish : $(System.DefaultWorkingDirectory)/result_images
287
277
artifact : $(Agent.JobName)-result_images
288
- condition : and( failed(), ne(variables['python.version'], 'Pre') )
278
+ condition : failed()
0 commit comments