File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -657,19 +657,13 @@ jobs:
657657 with :
658658 persist-credentials : false
659659
660- - name : Install dependencies
660+ - name : Install PSSemVer
661661 shell : pwsh
662662 run : |
663663 Install-PSResource -Name PSSemVer -Repository PSGallery -TrustRepository
664- Install-PSResource -Name Pester -Repository PSGallery -TrustRepository
665664
666665 - name : Run Pester tests
667- shell : pwsh
668- run : |
669- $config = New-PesterConfiguration
670- $config.Run.Path = './tests'
671- $config.Output.Verbosity = 'Detailed'
672- $config.TestResult.Enabled = $true
673- $config.TestResult.OutputPath = './tests/testResults.xml'
674- $config.TestResult.OutputFormat = 'NUnitXml'
675- Invoke-Pester -Configuration $config
666+ uses : PSModule/Invoke-Pester@266d1cf2532f572470b7c4463fa1072f2bfe4455 # v4.2.5
667+ with :
668+ Run_Path : ./tests
669+ Output_Verbosity : Detailed
You can’t perform that action at this time.
0 commit comments