Skip to content

Commit 4e15ef1

Browse files
committed
💚 ensure Pester
1 parent 2c5f3e1 commit 4e15ef1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pool:
1212
steps:
1313
- powershell: |
1414
Install-Module PSScriptAnalyzer -Scope Currentuser -SkipPublisherCheck -Force
15+
Install-Module Pester -Scope Currentuser -SkipPublisherCheck -Force
1516
$TestResults = Invoke-Pester -Path ./Tests -OutputFormat NUnitXml -OutputFile TestResults.xml -PassThru
1617
1718
if ($TestResults.FailedCount -gt 0) {
@@ -40,3 +41,4 @@ steps:
4041
inputs:
4142
filePath: 'Publish-ToPSGallery.ps1'
4243
arguments: '-nuGetApiKey $(PSGallery_PAT) -moduleVersion $(Build.SemVerId)'
44+
displayName: Publish-ToPSGallery.ps1

0 commit comments

Comments
 (0)