Skip to content

Commit

Permalink
Upload coverage data to codecov.io
Browse files Browse the repository at this point in the history
Closes GH-6486.
  • Loading branch information
pcrov authored and nikic committed Dec 3, 2020
1 parent 0f6c41c commit 8f8e6f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azure/coverage_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ jobs:
runTestsParameters: >-
${{ parameters.runTestsParameters }}
-d zend_extension=opcache.so
- script: bash <(curl -s https://codecov.io/bash)
displayName: 'Upload ${{ parameters.configurationName }} Test Coverage to Codecov.io'
condition: or(succeeded(), failed())
- script: |
make gcovr-xml
mv gcovr.xml coverage.xml
displayName: 'Generate ${{ parameters.configurationName }} Test Coverage'
displayName: 'Generate ${{ parameters.configurationName }} Test Coverage Cobertura XML Report'
condition: or(succeeded(), failed())
- task: PublishCodeCoverageResults@1
inputs:
Expand Down

0 comments on commit 8f8e6f9

Please sign in to comment.