fix: close development regression gaps

This commit is contained in:
2026-09-09 17:16:34 +08:00
parent 7c6fa248ac
commit 6f0622ed36
7 changed files with 28 additions and 18 deletions
+10 -5
View File
@@ -53,12 +53,17 @@ foreach ($target in $targets) {
}
if (-not $SkipPda) {
$pdaDirectory = Join-Path $repoRoot 'apps/pda-uniapp'
if (-not (Test-Path -LiteralPath (Join-Path $pdaDirectory 'tests'))) {
Write-Error "PDA tests directory not found: $pdaDirectory"; exit 2
$pdaTargets = @(
@{ Name = 'Domestic PDA'; Directory = Join-Path $repoRoot 'apps/pda-uniapp' },
@{ Name = 'Overseas PDA'; Directory = Join-Path $repoRoot 'apps/pda-overseas-uniapp' }
)
foreach ($pdaTarget in $pdaTargets) {
if (-not (Test-Path -LiteralPath (Join-Path $pdaTarget.Directory 'tests'))) {
Write-Error "$($pdaTarget.Name) tests directory not found: $($pdaTarget.Directory)"; exit 2
}
Write-Host "[$($pdaTarget.Name)]"
Invoke-PdaTests $pdaTarget.Directory
}
Write-Host '[PDA]'
Invoke-PdaTests $pdaDirectory
}
Write-Host 'Frontend regression completed.'