test: verify playground native boundaries and preserve final evidence gates

This commit is contained in:
NINI
2026-10-10 05:23:52 +09:00
parent 14f89d1248
commit 401fa6a1a6
6 changed files with 585 additions and 2 deletions
+2
View File
@@ -19,6 +19,8 @@ try {
$record.packages = (Get-Content 'Packages/manifest.json' -Raw | ConvertFrom-Json).dependencies
$apkPath = Join-Path $projectRoot "artifacts/android/$Milestone/MagnetismHeroes.apk"
if ($Phase -in @('EditMode','PlayMode')) {
$env:MAGNETISM_PROOF_COMMIT = $record.sourceCommit
$env:MAGNETISM_PROOF_DIRTY = [string]$record.sourceDirty
$xmlPath = Join-Path $evidenceDir "$phaseName.xml"
if (Test-Path -LiteralPath $xmlPath) { Remove-Item -LiteralPath $xmlPath }
$cliArgs = @('test', $projectRoot, '--mode', $Phase, '--output', $xmlPath, '--timeout', '900', '--', '-logFile', $logPath)