Skip to content

Commit 62fbc87

Browse files
committed
Revert "Stop running template tests on azdo job (already helix-ified) (#32985)"
This reverts commit 7a842b7.
1 parent 2136f31 commit 62fbc87

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.azure/pipelines/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,35 @@ stages:
673673
publishOnError: true
674674
includeForks: true
675675

676+
- template: jobs/default-build.yml
677+
parameters:
678+
condition: ne(variables['SkipTests'], 'true')
679+
jobName: Windows_Templates_Test
680+
jobDisplayName: "Test: Templates - Windows Server 2016 x64"
681+
agentOs: Windows
682+
isTestingJob: true
683+
testRunTitle: Templates-$(AgentOsName)-$(BuildConfiguration)
684+
steps:
685+
- script: ./eng/build.cmd -ci -nobl -all -pack $(_InternalRuntimeDownloadArgs)
686+
displayName: Build Repo
687+
- script: ./src/ProjectTemplates/build.cmd -ci -nobl -noBuildRepoTasks -pack -NoRestore -noBuildNative -NoBuilddeps "/p:RunTemplateTests=true"
688+
displayName: Pack Templates
689+
- script: ./src/ProjectTemplates/build.cmd -ci -nobl -noBuildRepoTasks -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
690+
displayName: Test Templates
691+
artifacts:
692+
- name: Windows_Test_Templates_Dumps
693+
path: artifacts/dumps/
694+
publishOnError: true
695+
includeForks: true
696+
- name: Windows_Test_Templates_Logs
697+
path: artifacts/log/
698+
publishOnError: true
699+
includeForks: true
700+
- name: Windows_Test_Templates_Results
701+
path: artifacts/TestResults/
702+
publishOnError: true
703+
includeForks: true
704+
676705
- template: jobs/default-build.yml
677706
parameters:
678707
condition: ne(variables['SkipTests'], 'true')

.azure/pipelines/quarantined-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ jobs:
8686
steps:
8787
- powershell: "& ./eng/build.ps1 -CI -nobl -all -pack -NoBuildJava"
8888
displayName: Build
89-
- script: ./eng/build.cmd -ci -nobl -test -NoRestore -NoBuild -NoBuilddeps "/p:RunQuarantinedTests=true /p:SkipHelixReadyTests=true"
89+
# The templates part can be removed when the Blazor Templates run on Helix
90+
- script: ./src/ProjectTemplates/build.cmd -ci -nobl -pack -NoRestore -NoBuildNative -NoBuilddeps "/p:RunTemplateTests=true"
91+
displayName: Pack Templates
92+
- script: ./eng/build.cmd -ci -nobl -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /p:RunQuarantinedTests=true /p:SkipHelixReadyTests=true"
9093
displayName: Run Quarantined Tests
9194
continueOnError: true
9295
- task: PublishTestResults@2

0 commit comments

Comments
 (0)