Skip to content

Commit

Permalink
Fail the CI job on test failure (no. 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Jun 12, 2021
1 parent 28e8b1d commit 3f00b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azure/pipelines/ci.yml
Expand Up @@ -36,23 +36,23 @@ jobs:
env:
GITHUB_TOKEN: $(GitHub.Token)
- task: PublishTestResults@2
continueOnError: true
condition: succeededOrFailed()
inputs:
testResultsFormat: VSTest
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/unit-test-results.trx
buildConfiguration: $(BUILD_CONFIGURATION)
testRunTitle: Linux Unit Tests
failTaskOnFailedTests: true
- task: PublishTestResults@2
continueOnError: true
condition: succeededOrFailed()
inputs:
testResultsFormat: VSTest
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/ui-test-results.trx
buildConfiguration: $(BUILD_CONFIGURATION)
testRunTitle: Linux UI Tests
failTaskOnFailedTests: true
- task: PublishTestResults@2
continueOnError: true
condition: succeededOrFailed()
inputs:
testResultsFormat: JUnit
testResultsFiles: $(DOTVVM_ROOT)/artifacts/test/js-test-results.xml
Expand Down

0 comments on commit 3f00b34

Please sign in to comment.