summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
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