Add pipeline task to push coverage results to coveralls (#5461)

This commit is contained in:
Charles Gagnon
2019-05-14 17:14:04 -07:00
committed by GitHub
parent 02a646c7ea
commit e12827de3f
2 changed files with 5 additions and 1 deletions

View File

@@ -32,6 +32,10 @@ steps:
.\scripts\test.bat --reporter mocha-junit-reporter --coverage
displayName: 'Test'
- script: |
cat .\.build\coverage\lcov.info | node .\node_modules\coveralls\bin\coveralls.js
displayName: 'Upload coverage to Coveralls'
- task: PublishTestResults@2
inputs:
testResultsFiles: 'test-results.xml'