We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1de96e9 commit d1ad98aCopy full SHA for d1ad98a
.vsts-ci/azure-pipelines-ci.yml
@@ -53,6 +53,16 @@ jobs:
53
vmImage: macOS-10.15
54
steps:
55
- template: templates/ci-general.yml
56
+ # NOTE: The coverage tooling only works consistently on macOS.
57
+ - pwsh: npm run coverage
58
+ workingDirectory: $(Build.SourcesDirectory)/vscode-powershell
59
+ displayName: Analyzing code coverage
60
+ - task: PublishCodeCoverageResults@1
61
+ displayName: Publish code coverage results
62
+ inputs:
63
+ codeCoverageTool: Cobertura
64
+ summaryFileLocation: $(Build.SourcesDirectory)/vscode-powershell/coverage/cobertura-coverage.xml
65
+ failIfCoverageEmpty: true
66
67
- job: PS7_Ubuntu
68
displayName: PowerShell 7 - Ubuntu 20.04
0 commit comments