mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
publish test result
This commit is contained in:
parent
07097d9a23
commit
d2051b910b
@ -17,9 +17,15 @@ jobs:
|
|||||||
go version
|
go version
|
||||||
go get -v -t -d v2ray.com/core/...
|
go get -v -t -d v2ray.com/core/...
|
||||||
go get -v -t -d v2ray.com/ext/...
|
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)'
|
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||||
displayName: 'Fetch sources'
|
displayName: 'Fetch sources'
|
||||||
- script: |
|
- script: |
|
||||||
go test -p 1 -timeout 30m -v v2ray.com/core/...
|
go test -p 1 -timeout 30m -v v2ray.com/core/...
|
||||||
workingDirectory: '$(system.defaultWorkingDirectory)'
|
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||||
displayName: 'Test'
|
displayName: 'Test'
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
inputs:
|
||||||
|
testResultsFormat: 'JUnit' # Options: JUnit, NUnit, VSTest, xUnit
|
||||||
|
testResultsFiles: 'report.xml'
|
||||||
|
searchFolder: '$(System.DefaultWorkingDirectory)' # Optional
|
||||||
|
Loading…
Reference in New Issue
Block a user