diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-11-08 23:58:34 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-11-13 16:13:46 +0000 |
commit | bb01b10a27a5a0d7bf5a7193fb27cd9dad18274d (patch) | |
tree | 7e5d58d74f8270d67e986d5c385ebfe9866e5549 /ci | |
parent | 3354a64056360acf3402a3d5c987c53c9f9b8c2d (diff) | |
download | meson-bb01b10a27a5a0d7bf5a7193fb27cd9dad18274d.zip meson-bb01b10a27a5a0d7bf5a7193fb27cd9dad18274d.tar.gz meson-bb01b10a27a5a0d7bf5a7193fb27cd9dad18274d.tar.bz2 |
azure: Simplify how we always publish test results
Use a more concise way of always publishing test results, even when
tests failed
Diffstat (limited to 'ci')
-rw-r--r-- | ci/azure-steps.yml | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index db532c8..8bd8c76 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -111,28 +111,21 @@ steps: python run_tests.py --backend $(backend) - echo "##vso[task.setvariable variable=test_status]$LastExitCode" - - continueOnError: true - - task: PublishTestResults@2 inputs: testResultsFiles: meson-test-run.xml testRunTitle: $(System.JobName) publishRunAttachments: true + condition: not(canceled()) - task: CopyFiles@2 inputs: contents: 'meson-test-run.*' targetFolder: $(Build.ArtifactStagingDirectory) + condition: not(canceled()) - task: PublishBuildArtifacts@1 inputs: artifactName: $(System.JobName) # publishing artifacts from PRs from a fork is currently blocked condition: eq(variables['system.pullrequest.isfork'], false) - -- powershell: | - # after publishing test results, even if some failed - # exit with the test status - exit $(test_status) |