Run Project templates in separate test check (#8966)
This commit is contained in:
parent
b9e600a45c
commit
e863da19d0
|
|
@ -297,7 +297,7 @@ jobs:
|
|||
jobDisplayName: "Test: Windows Server 2016 x64"
|
||||
agentOs: Windows
|
||||
buildScript: ./eng/scripts/cibuild.cmd
|
||||
buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true"
|
||||
buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true /p:RunTemplateTests=false"
|
||||
beforeBuild:
|
||||
- powershell: ./eng/scripts/InstallSqlServerLocalDB.ps1
|
||||
displayName: Install SQL Server 2016 Express LocalDB
|
||||
|
|
@ -317,6 +317,22 @@ jobs:
|
|||
path: artifacts/logs/
|
||||
publishOnError: true
|
||||
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
condition: ne(variables['SkipTests'], 'true')
|
||||
jobName: Windows_Templates_Test
|
||||
jobDisplayName: "Test: Templates - Windows Server 2016 x64"
|
||||
agentOs: Windows
|
||||
buildScript: ./src/ProjectTemplates/build.cmd
|
||||
buildArgs: -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
|
||||
beforeBuild:
|
||||
- powershell: ./eng/scripts/cibuild.cmd
|
||||
displayName: Build Repo
|
||||
artifacts:
|
||||
- name: Windows_Test_Templates_Logs
|
||||
path: artifacts/logs/
|
||||
publishOnError: true
|
||||
|
||||
- template: jobs/default-build.yml
|
||||
parameters:
|
||||
condition: ne(variables['SkipTests'], 'true')
|
||||
|
|
|
|||
Loading…
Reference in New Issue