File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,35 @@ stages:
673
673
publishOnError : true
674
674
includeForks : true
675
675
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
+
676
705
- template : jobs/default-build.yml
677
706
parameters :
678
707
condition : ne(variables['SkipTests'], 'true')
Original file line number Diff line number Diff line change 86
86
steps :
87
87
- powershell : " & ./eng/build.ps1 -CI -nobl -all -pack -NoBuildJava"
88
88
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"
90
93
displayName : Run Quarantined Tests
91
94
continueOnError : true
92
95
- task : PublishTestResults@2
You can’t perform that action at this time.
0 commit comments