@@ -105,10 +105,6 @@ jobs:
105105 BuildConfig : $(buildConfiguration)
106106 TestFullMSBuild : ${{ parameters.testFullMSBuild }}
107107
108- - ${{ if eq(parameters.targetArchitecture, 'x64') }} :
109- - powershell : build/RunTestTemplateTests.ps1
110- displayName : 🟣 Run Test Templates Tests
111-
112108 - ${{ else }} :
113109 - script : |
114110 source $(Build.SourcesDirectory)/eng/common/native/init-os-and-arch.sh
@@ -135,6 +131,17 @@ jobs:
135131 OPENSSL_ENABLE_SHA1_SIGNATURES: 1
136132
137133 # ############## TESTING ###############
134+ - ${{ if eq(parameters.pool.os, 'windows') }} :
135+ - ${{ if eq(parameters.targetArchitecture, 'x64') }} :
136+ - powershell : eng/common/build.ps1
137+ -restore -test -ci -prepareMachine -nativeToolsOnMachine
138+ -configuration $(buildConfiguration)
139+ /p:Projects="test/dotnet-new.IntegrationTests/dotnet-new.IntegrationTests.csproj"
140+ ${{ parameters.runtimeSourceProperties }}
141+ /bl:$(Build.SourcesDirectory)/artifacts/log/$(buildConfiguration)/TestTemplateTests.binlog
142+ displayName : 🟣 Run Test Templates Tests
143+ condition : succeeded()
144+
138145 - ${{ if eq(parameters.runTests, true) }} :
139146 - ${{ if eq(parameters.runAoTTests, true) }} :
140147 # For the reason this is here, see: https://github.com/dotnet/sdk/issues/22655
0 commit comments