Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ stages:
buildConfiguration: chk
testOS: Win10-RS5
testPayloadArtifactName: 'ScenarioTestPayload'
skipTests: true

- template: WinUI-RunTestPassOnPipeline-Job.yml
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ parameters:
rerunPassesRequiredToAvoidFailure: 5
testPayloadArtifactName: 'TestPayload'
failOnTestFailure: true
skipTests: false
# We run the bulk of our tests in Helix. But this Job runs tests directly on the Pipeline agents.
# These Pipeline agents are running on a ni_release build of Windows which is not available in Helix.
# This approach allows us to run tests on prerelease builds of Windows.

jobs:
- job: ${{ parameters.runTestJobName }} #${{ parameters.testOS }}${{ parameters.buildPlatform }}${{ parameters.buildConfiguration }}
dependsOn: ${{ parameters.dependsOn }}
condition: not(failed())
condition: and(not(failed()), eq(${{ parameters.skipTests }}, false))
pool:
type: windows
isCustom: true
Expand Down
1 change: 1 addition & 0 deletions build/AzurePipelinesTemplates/WinUI-RunTests-Stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ stages:
dependsOn: CreateTestPayload
testOS: 'Win10-RS5'
testPayloadArtifactName: 'TestPayload'
skipTests: true
failOnTestFailure: ${{ parameters.failOnTestFailure }}
4 changes: 2 additions & 2 deletions build/WinUI-GitHub-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ extends:
dependsOn: ValidateGitHubPrContext

- ${{ if eq(parameters.runFullValidation, true) }}:
- template: build\AzurePipelinesTemplates\WinUI-RunTests-Stage.yml@WinUIInternal
- template: build\AzurePipelinesTemplates\WinUI-RunTests-Stage.yml
parameters:
pipelineKind: PR
# Test results are published but do not gate the pipeline yet.
Expand All @@ -181,7 +181,7 @@ extends:
MUXFinalRelease: ${{ parameters.MUXFinalRelease }}

- ${{ if eq(parameters.runFullValidation, true) }}:
- template: build\AzurePipelinesTemplates\WinUI-RunScenarioTests-Stage.yml@WinUIInternal
- template: build\AzurePipelinesTemplates\WinUI-RunScenarioTests-Stage.yml
parameters:
pipelineKind: GitHubPR
dependsOn: Build
Loading