From 4ff0fe0160a65658ead8e01f11cf545643382d3d Mon Sep 17 00:00:00 2001 From: Jesper Schulz-Wedde Date: Wed, 16 Sep 2026 13:29:21 +0200 Subject: [PATCH] Run implementation guidance in existing CI Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/development-guidance.yml | 9 +-------- tools/Test-DevelopmentGuidanceEvaluator.ps1 | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) 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