fix: deploy_hub basetemp path
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,8 @@ try {
|
|||||||
}
|
}
|
||||||
if (-not $SkipTests) {
|
if (-not $SkipTests) {
|
||||||
# per-run basetemp: some tests ACL-lock their tmp dirs, which breaks pytest's shared default temp root
|
# per-run basetemp: some tests ACL-lock their tmp dirs, which breaks pytest's shared default temp root
|
||||||
$base = Join-Path $Root (".pytmp␍un-" + (Get-Date -Format "yyyyMMddHHmmss"))
|
$base = Join-Path (Join-Path $Root ".pytmp") ("run-" + (Get-Date -Format "yyyyMMddHHmmss"))
|
||||||
|
un-" + (Get-Date -Format "yyyyMMddHHmmss"))
|
||||||
& $Python -m pytest tests central/tests agent/tests -q -p no:cacheprovider --basetemp=$base
|
& $Python -m pytest tests central/tests agent/tests -q -p no:cacheprovider --basetemp=$base
|
||||||
if ($LASTEXITCODE -ne 0) { throw "tests failed - deploy aborted" }
|
if ($LASTEXITCODE -ne 0) { throw "tests failed - deploy aborted" }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user