diff --git a/.github/workflows/development-guidance.yml b/.github/workflows/development-guidance.yml index d95ac3c..51e24b3 100644 --- a/.github/workflows/development-guidance.yml +++ b/.github/workflows/development-guidance.yml @@ -2,6 +2,7 @@ name: Validate read-only development guidance on: pull_request: + branches: [main] push: branches: [main] @@ -22,11 +23,3 @@ jobs: - name: Run credential-free guidance evaluator regressions shell: pwsh run: ./tools/Test-DevelopmentGuidanceEvaluator.ps1 - - - name: Validate and prepare implementation-guidance fixtures - shell: pwsh - run: ./tools/Test-DevelopmentGuidanceFixtures.ps1 -Root . -ManifestPath ./evaluation/implementation-guidance-fixtures.json -PrepareDirectory "$env:RUNNER_TEMP/bcquality-implementation-guidance-fixtures" - - - name: Run implementation-guidance evaluator regressions - shell: pwsh - run: ./tools/Test-ImplementationGuidanceEvaluator.ps1 diff --git a/tools/Test-DevelopmentGuidanceEvaluator.ps1 b/tools/Test-DevelopmentGuidanceEvaluator.ps1 index 1bce91d..ad18d77 100644 --- a/tools/Test-DevelopmentGuidanceEvaluator.ps1 +++ b/tools/Test-DevelopmentGuidanceEvaluator.ps1 @@ -421,4 +421,6 @@ try { } # Intentional negative native-command probes leave LASTEXITCODE nonzero. +& (Join-Path $PSScriptRoot 'Test-ImplementationGuidanceEvaluator.ps1') +if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } exit 0