summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorTodd Leonhardt <toleonha@microsoft.com>2018-09-12 14:11:53 -0400
committerTodd Leonhardt <toleonha@microsoft.com>2018-09-12 14:11:53 -0400
commit88edb8eb83865332ae00ab8d1febf3eb863507c6 (patch)
treeb14afee7a0cafacd4490d79226d8dd71b6e89490 /azure-pipelines.yml
parent94b2943fcbac63aec4a1f5e1d02aed39d15b7cad (diff)
downloadcmd2-git-88edb8eb83865332ae00ab8d1febf3eb863507c6.tar.gz
Fix it so YAML-based Azure test run can fail
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index c19cb9d6..374c6b3b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -43,9 +43,8 @@ jobs:
# Test - test with pytest, collect coverage metrics with pytest-cov, and publish these metrics to codecov.io
- script: |
- pip install pytest pytest-cov pytest-mock codecov
- py.test tests --cov --junitxml=junit/test-results.xml
- codecov
+ pip install pytest pytest-cov pytest-mock codecov mock
+ py.test tests --cov --junitxml=junit/test-results.xml && codecov
displayName: 'Run tests and code coverage'
continueOnError: false