From e863da19d049f936b4a0299085b6fbb9ced3e2ed Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Thu, 4 Apr 2019 14:32:45 -0700 Subject: [PATCH] Run Project templates in separate test check (#8966) --- .azure/pipelines/ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 0145056f59..cc205852e6 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -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')