From b7ff520d557f05dcaabb378449d3760a7e87a6c6 Mon Sep 17 00:00:00 2001 From: Marek Wolan Date: Tue, 6 Feb 2024 18:58:50 +0000 Subject: [PATCH] make task fail if tests fail --- .azure/azure-ci-build-pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure/azure-ci-build-pipeline.yaml b/.azure/azure-ci-build-pipeline.yaml index f962a628..dcfbde0e 100644 --- a/.azure/azure-ci-build-pipeline.yaml +++ b/.azure/azure-ci-build-pipeline.yaml @@ -113,6 +113,7 @@ stages: testRunner: JUnit testResultsFiles: 'junit/**.xml' testRunTitle: 'Publish test results' + failTaskOnFailedTests: true - publish: $(System.DefaultWorkingDirectory)/htmlcov/ # publish the html report - so we can debug the coverage if needed