Skip to content

Commit

Permalink
publish test result
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Jan 18, 2019
1 parent 07097d9 commit d2051b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ jobs:
go version
go get -v -t -d v2ray.com/core/...
go get -v -t -d v2ray.com/ext/...
go get -u github.com/jstemmer/go-junit-report 2>&1 | go-junit-report > report.xml
workingDirectory: '$(system.defaultWorkingDirectory)'
displayName: 'Fetch sources'
- script: |
go test -p 1 -timeout 30m -v v2ray.com/core/...
workingDirectory: '$(system.defaultWorkingDirectory)'
displayName: 'Test'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'JUnit' # Options: JUnit, NUnit, VSTest, xUnit
testResultsFiles: 'report.xml'
searchFolder: '$(System.DefaultWorkingDirectory)' # Optional

0 comments on commit d2051b9

Please sign in to comment.