aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-08-05 14:36:59 -0700
committerGravatar MarkKoz <[email protected]>2019-08-05 14:36:59 -0700
commit4351b7b592d57ac5c5737594160890c9662fe6bf (patch)
tree403fdf2de380b592726623286c2f9ecb6ae554c7
parentAdd comments to Azure Pipelines YAML (diff)
CI: output coverage report to stdout
-rw-r--r--azure-pipelines.yml3
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