We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c9d5ac commit d5372e7Copy full SHA for d5372e7
1 file changed
azure-pipelines.yml
@@ -12,5 +12,19 @@ pool:
12
steps:
13
- powershell: |
14
Install-Module PSScriptAnalyzer
15
- invoke-Pester -Path ./Tests
+ Invoke-Pester -Path ./Tests -OutputFormat NUnitXml -OutputFile TestResults.xml -PassThru
16
displayName: 'Pester'
17
+
18
+- task: PublishTestResults@2
19
+ inputs:
20
+ testResultsFormat: 'NUnit'
21
+ testResultsFiles: '**/Test*.xml'
22
23
+- powershell: |
24
+ $Module = find-module psgitchangelog
25
26
+ [version]$Version = $Module.Version
27
28
+ $NewVersion = "{0}.{1}.{2}" -f $version.Major,$version.Minor,($version.Build + 1)
29
30
+ $NewVersion
0 commit comments