Skip to content

Commit

Permalink
Configure azure pipelines to fail tests task on test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Mar 25, 2019
1 parent 12c6586 commit 1da0db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ steps:
- script: |
GO111MODULE=auto go get github.com/jstemmer/go-junit-report
GO111MODULE=auto go get github.com/axw/gocov/gocov
GO111MODULE=auto go get github.com/AlekSi/gocov-xml
GO111MODULE=auto go get github.com/AlekSi/gocov-xml
GO111MODULE=auto go get gopkg.in/matm/v1/gocov-html
workingDirectory: '$(modulePath)'
displayName: 'Download code coverage tools'
Expand All @@ -70,7 +70,7 @@ steps:
inputs:
testRunner: JUnit
testResultsFiles: $(System.DefaultWorkingDirectory)/**/report.xml
failOnStandardError: 'true'
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
inputs:
Expand Down

0 comments on commit 1da0db6

Please sign in to comment.