Skip to content

Commit 571fd37

Browse files
committed
Run test template tests with Arcade
1 parent b62cacf commit 571fd37

File tree

2 files changed

+11
-50
lines changed

2 files changed

+11
-50
lines changed

build/RunTestTemplateTests.ps1

Lines changed: 0 additions & 46 deletions
This file was deleted.

eng/pipelines/templates/jobs/sdk-build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)