mirror of https://github.com/v2ray/v2ray-core
fix tool path
parent
ef16edea51
commit
ebbc70b409
|
@ -7,6 +7,7 @@ jobs:
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GOPATH: '$(system.defaultWorkingDirectory)'
|
GOPATH: '$(system.defaultWorkingDirectory)'
|
||||||
|
GOBIN: '$(GOPATH)/bin'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: none
|
- checkout: none
|
||||||
|
@ -21,7 +22,7 @@ jobs:
|
||||||
workingDirectory: '$(system.defaultWorkingDirectory)'
|
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||||
displayName: 'Fetch sources'
|
displayName: 'Fetch sources'
|
||||||
- script: |
|
- script: |
|
||||||
go test -p 1 -timeout 30m -v v2ray.com/core/... 2>&1 | go-junit-report > report.xml
|
go test -p 1 -timeout 30m -v v2ray.com/core/... 2>&1 | $(GOBIN)/go-junit-report > report.xml
|
||||||
workingDirectory: '$(system.defaultWorkingDirectory)'
|
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||||
displayName: 'Test'
|
displayName: 'Test'
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
|
Loading…
Reference in New Issue