diff options
author | 2019-08-05 14:36:59 -0700 | |
---|---|---|
committer | 2019-08-05 14:36:59 -0700 | |
commit | 4351b7b592d57ac5c5737594160890c9662fe6bf (patch) | |
tree | 403fdf2de380b592726623286c2f9ecb6ae554c7 | |
parent | Add comments to Azure Pipelines YAML (diff) |
CI: output coverage report to stdout
-rw-r--r-- | azure-pipelines.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f7b8eb7..424b1a3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -91,9 +91,10 @@ jobs: testResultsFiles: '**/TEST-*.xml' testRunTitle: 'Test Results' + # Run report too because the XML report doesn't output to stdout. - script: | docker exec snekbox_test /bin/ash -c \ - 'pipenv run coverage xml' + 'pipenv run /bin/ash -c "coverage report && coverage xml"' displayName: 'Generate Coverage Report' - task: PublishCodeCoverageResults@1 |