aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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