From 52e0431f4a1592bbd7dcb0b969bff8b65b2b65f9 Mon Sep 17 00:00:00 2001 From: "Christoph Bergmeister [MVP]" Date: Sat, 18 Apr 2020 00:29:57 +0100 Subject: [PATCH] Demonstrate yaml error behaviour --- .azure-pipelines-ci/templates/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines-ci/templates/test.yaml b/.azure-pipelines-ci/templates/test.yaml index 2acdcc6f5..95c671d6b 100644 --- a/.azure-pipelines-ci/templates/test.yaml +++ b/.azure-pipelines-ci/templates/test.yaml @@ -17,8 +17,10 @@ steps: script: | Import-Module .\tools\appveyor.psm1 Invoke-AppveyorTest -CheckoutPath $env:BUILD_SOURCESDIRECTORY +- pwsh: | + throw 'Error' - task: PublishTestResults@2 inputs: testRunner: NUnit testResultsFiles: 'TestResults.xml' - condition: succeededOrFailed() \ No newline at end of file + condition: succeededOrFailed()