Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Commit

Permalink
Adding codecov for coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Jul 22, 2019
1 parent e116290 commit 48c596e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .azure-pipelines/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ steps:
inputs:
codeCoverageTool: 'cobertura'
summaryFileLocation: coverage/cobertura-coverage.xml
reportDirectory: coverage/lcov-report
condition: succeededOrFailed()

- script: |
bash <(curl https://codecov.io/bash) -t $(CODECOV_TOKEN) -f coverage/cobertura-coverage.xml
displayName: 'codecov'
condition: succeededOrFailed()
- task: CopyFiles@2
Expand All @@ -39,4 +45,4 @@ steps:
displayName: 'Publish Coverage Artifact'
inputs:
targetPath: $(Build.ArtifactStagingDirectory)
artifactName: 'coverage-$(Agent.OS)-$(node_version)'
artifactName: 'coverage-$(Agent.OS)-$(node_version)'
3 changes: 3 additions & 0 deletions azure-pipelines.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ trigger:
pr:
- master

variables:
- group: codecov

jobs:
- job: Linux
pool:
Expand Down

0 comments on commit 48c596e

Please # to comment.