From 992f782654201ed0fffc8ffeea7e6b1dd116503d Mon Sep 17 00:00:00 2001 From: Test User Date: Thu, 27 Aug 2026 09:38:50 +0530 Subject: [PATCH 1/2] Skip static tests in GitHub PR validation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f5c23fc8-c546-4954-9b00-e163b12943a1 --- build/AzurePipelinesTemplates/WinUI-RunStaticTests-Stage.yml | 3 ++- build/WinUI-GitHub-PR.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/AzurePipelinesTemplates/WinUI-RunStaticTests-Stage.yml b/build/AzurePipelinesTemplates/WinUI-RunStaticTests-Stage.yml index 4b34401330..51d201ab9f 100644 --- a/build/AzurePipelinesTemplates/WinUI-RunStaticTests-Stage.yml +++ b/build/AzurePipelinesTemplates/WinUI-RunStaticTests-Stage.yml @@ -2,12 +2,13 @@ # Licensed under the MIT License. parameters: MUXFinalRelease: false + condition: true stages: - stage: RunStaticTests displayName: Run Static Tests Stage dependsOn: Build - condition: not(failed()) + condition: and(not(failed()), ${{ parameters.condition }}) jobs: - template: WinUI-RunStaticTests-Job.yml parameters: diff --git a/build/WinUI-GitHub-PR.yml b/build/WinUI-GitHub-PR.yml index a34c066768..246bdfac66 100644 --- a/build/WinUI-GitHub-PR.yml +++ b/build/WinUI-GitHub-PR.yml @@ -179,6 +179,7 @@ extends: - template: build\AzurePipelinesTemplates\WinUI-RunStaticTests-Stage.yml@WinUIInternal parameters: MUXFinalRelease: ${{ parameters.MUXFinalRelease }} + condition: false - ${{ if eq(parameters.runFullValidation, true) }}: - template: build\AzurePipelinesTemplates\WinUI-RunScenarioTests-Stage.yml@WinUIInternal From 5ca355e9cd5e5f3ffae9fb7effa7704311d1a6f4 Mon Sep 17 00:00:00 2001 From: Test User Date: Thu, 27 Aug 2026 11:11:32 +0530 Subject: [PATCH 2/2] Resolve static test stage from GitHub Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f5c23fc8-c546-4954-9b00-e163b12943a1 --- build/WinUI-GitHub-PR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/WinUI-GitHub-PR.yml b/build/WinUI-GitHub-PR.yml index 246bdfac66..f9d092319b 100644 --- a/build/WinUI-GitHub-PR.yml +++ b/build/WinUI-GitHub-PR.yml @@ -176,7 +176,7 @@ extends: failOnTestFailure: false - ${{ if eq(parameters.runFullValidation, true) }}: - - template: build\AzurePipelinesTemplates\WinUI-RunStaticTests-Stage.yml@WinUIInternal + - template: AzurePipelinesTemplates\WinUI-RunStaticTests-Stage.yml parameters: MUXFinalRelease: ${{ parameters.MUXFinalRelease }} condition: false