Fail conformance on invalid evidence

This commit is contained in:
Meta Vens 2026-07-10 16:28:58 +01:00
commit 46884e4f0c
2 changed files with 4 additions and 1 deletions

View file

@ -17,8 +17,11 @@ $env:EVE_CONFORMANCE_OUTPUT = Join-Path $repoRoot "artifacts\conformance"
Push-Location $repoRoot
try {
node .\tools\conformance\verify-workspace-lock.mjs $env:EVE_WORKSPACE_ROOT
if ($LASTEXITCODE -ne 0) { throw "Workspace lock verification failed with exit code $LASTEXITCODE." }
node .\tools\parity\run-parity.mjs
if ($LASTEXITCODE -ne 0) { throw "Parity runner failed with exit code $LASTEXITCODE." }
node .\tools\conformance\consume-export.mjs .\artifacts\conformance\latest
if ($LASTEXITCODE -ne 0) { throw "Conformance consumer failed with exit code $LASTEXITCODE." }
} finally {
Pop-Location
}