File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,20 @@ jobs:
182182 PYMANAGER_DEBUG : true
183183 shell : powershell
184184
185+ - name : ' Test purge'
186+ run : |
187+ $env:PYTHON_MANAGER_CONFIG = (gi $env:PYTHON_MANAGER_CONFIG).FullName
188+ pymanager uninstall --purge -y
189+ if (Test-Path test_installs) {
190+ dir -r test_installs
191+ } else {
192+ Write-Host "test_installs directory has been deleted"
193+ }
194+ env :
195+ PYTHON_MANAGER_INCLUDE_UNMANAGED : false
196+ PYTHON_MANAGER_CONFIG : .\test-config.json
197+ PYMANAGER_DEBUG : true
198+
185199 - name : ' Offline bundle download and install'
186200 run : |
187201 pymanager list --online 3 3-32 3-64 3-arm64
Original file line number Diff line number Diff line change @@ -323,6 +323,21 @@ stages:
323323 PYTHON_MANAGER_CONFIG: .\test-config.json
324324 PYMANAGER_DEBUG: true
325325
326+ - powershell : |
327+ $env:PYTHON_MANAGER_CONFIG = (gi $env:PYTHON_MANAGER_CONFIG).FullName
328+ pymanager uninstall --purge -y
329+ if (Test-Path test_installs) {
330+ dir -r test_installs
331+ } else {
332+ Write-Host "test_installs directory has been deleted"
333+ }
334+ displayName: 'Test purge'
335+ timeoutInMinutes: 5
336+ env:
337+ PYTHON_MANAGER_INCLUDE_UNMANAGED: false
338+ PYTHON_MANAGER_CONFIG: .\test-config.json
339+ PYMANAGER_DEBUG: true
340+
326341 - powershell : |
327342 pymanager list --online 3 3-32 3-64 3-arm64
328343 pymanager install --download .\bundle 3 3-32 3-64 3-arm64
You can’t perform that action at this time.
0 commit comments