mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-07 15:46:55 +01:00
Run contract checks with review fixtures
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
078169d68e
commit
b673031e1a
2 changed files with 1 additions and 4 deletions
4
.github/workflows/review-fixtures.yml
vendored
4
.github/workflows/review-fixtures.yml
vendored
|
|
@ -16,7 +16,3 @@ jobs:
|
||||||
- name: Validate review evaluation corpus
|
- name: Validate review evaluation corpus
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: ./tools/Test-ReviewFixtures.ps1 -Root . -PrepareDirectory "$env:RUNNER_TEMP/bcquality-review-fixtures"
|
run: ./tools/Test-ReviewFixtures.ps1 -Root . -PrepareDirectory "$env:RUNNER_TEMP/bcquality-review-fixtures"
|
||||||
|
|
||||||
- name: Validate review contracts
|
|
||||||
shell: pwsh
|
|
||||||
run: ./tools/Test-ReviewContract.ps1 -Root .
|
|
||||||
|
|
|
||||||
|
|
@ -434,6 +434,7 @@ if ($PrepareDirectory) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-not $ResultsPath -and -not $ResultsDirectory) {
|
if (-not $ResultsPath -and -not $ResultsDirectory) {
|
||||||
|
& (Join-Path $PSScriptRoot 'Test-ReviewContract.ps1') -Root $Root
|
||||||
Write-Host "Review fixture validation PASSED: $($cases.Count) cases cover $($leafDomains.Count) leaf domains." -ForegroundColor Green
|
Write-Host "Review fixture validation PASSED: $($cases.Count) cases cover $($leafDomains.Count) leaf domains." -ForegroundColor Green
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue