Skip to content

Commit b10fdd5

Browse files
committed
Change CI build script to only build
1 parent 889018f commit b10fdd5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.vsts-ci/templates/ci-general.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,17 @@ steps:
2626
performMultiLevelLookup: true
2727

2828
- task: PowerShell@2
29-
displayName: Build and test
29+
displayName: Build
3030
inputs:
3131
filePath: tools/azurePipelinesBuild.ps1
3232
pwsh: ${{ parameters.pwsh }}
3333

34+
- task: PowerShell@2
35+
displayName: Test
36+
inputs:
37+
script: Invoke-Build Test
38+
pwsh: ${{ parameters.pwsh }}
39+
3440
- task: PublishTestResults@2
3541
displayName: Publish test results
3642
inputs:

tools/azurePipelinesBuild.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Update-Help -Force -ErrorAction SilentlyContinue
2020
Install-Module -Name InvokeBuild -RequiredVersion 5.9.7 -Scope CurrentUser -Force
2121
Install-Module -Name platyPS -RequiredVersion 0.14.2 -Scope CurrentUser -Force
2222

23-
Invoke-Build -Configuration Release
23+
Invoke-Build -Configuration Release Build

0 commit comments

Comments
 (0)