diff --git a/.github/workflows/review-fixtures.yml b/.github/workflows/review-fixtures.yml index 788c32c..0f39d9a 100644 --- a/.github/workflows/review-fixtures.yml +++ b/.github/workflows/review-fixtures.yml @@ -16,7 +16,3 @@ jobs: - name: Validate review evaluation corpus shell: pwsh 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 . diff --git a/tools/Test-ReviewFixtures.ps1 b/tools/Test-ReviewFixtures.ps1 index a9912b7..c4b0bf1 100644 --- a/tools/Test-ReviewFixtures.ps1 +++ b/tools/Test-ReviewFixtures.ps1 @@ -434,6 +434,7 @@ if ($PrepareDirectory) { } 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 exit 0 }