From 88edb8eb83865332ae00ab8d1febf3eb863507c6 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Wed, 12 Sep 2018 14:11:53 -0400 Subject: Fix it so YAML-based Azure test run can fail --- azure-pipelines.yml | 5 ++--- 1 file 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 -- cgit v1.2.1