mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 17:38:45 -05:00
fix test script
This commit is contained in:
parent
d2051b910b
commit
ef16edea51
@ -17,11 +17,11 @@ 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
|
||||
go get -u github.com/jstemmer/go-junit-report
|
||||
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||
displayName: 'Fetch sources'
|
||||
- script: |
|
||||
go test -p 1 -timeout 30m -v v2ray.com/core/...
|
||||
go test -p 1 -timeout 30m -v v2ray.com/core/... 2>&1 | go-junit-report > report.xml
|
||||
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||
displayName: 'Test'
|
||||
- task: PublishTestResults@2
|
||||
|
Loading…
Reference in New Issue
Block a user