Run Project templates in separate test check (#8966)

This commit is contained in:
Justin Kotalik 2019-04-04 14:32:45 -07:00 committed by GitHub
parent b9e600a45c
commit e863da19d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -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')