Skip to content

Commit 9e665e2

Browse files
committed
fix(ci): make Windows latest_from_pip uninstall sequential
Signed-off-by: Alex Chen <andystechkin@gmail.com>
1 parent ed0f962 commit 9e665e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,15 @@ jobs:
218218
image_name: windows-2025-vs2026
219219
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
220220
test_suites:
221-
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv\Scripts\pip uninstall -y commoncode & venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
221+
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && (venv\Scripts\pip uninstall -y commoncode || echo.) && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
222222

223223
- template: etc/ci/azure-win.yml
224224
parameters:
225225
job_name: win2022_cpython_latest_from_pip
226226
image_name: windows-2022
227227
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
228228
test_suites:
229-
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && venv\Scripts\pip uninstall -y commoncode & venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
229+
all: venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .[testing] && (venv\Scripts\pip uninstall -y commoncode || echo.) && venv\Scripts\pytest -n 2 -vvs tests\scancode\test_cli.py
230230

231231

232232
################################################################################

0 commit comments

Comments
 (0)