2018-11-12 21:37:44 +00:00
|
|
|
jobs:
|
|
|
|
- job: ${{ parameters.name }}
|
|
|
|
timeoutInMinutes: 30
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: ${{ parameters.vmImage }}
|
|
|
|
|
|
|
|
steps:
|
2019-02-13 09:32:01 +00:00
|
|
|
- checkout: self
|
2018-11-12 22:58:26 +00:00
|
|
|
- task: GoTool@0
|
2018-11-12 23:00:12 +00:00
|
|
|
inputs:
|
2020-06-03 14:52:30 +00:00
|
|
|
version: '1.14'
|
2018-11-12 21:37:44 +00:00
|
|
|
- script: |
|
2019-02-13 09:32:01 +00:00
|
|
|
go test -p 1 -v -timeout 30m ./...
|
|
|
|
workingDirectory: '$(Build.SourcesDirectory)'
|
2018-11-12 21:37:44 +00:00
|
|
|
displayName: 'Test'
|
2019-06-06 12:08:32 +00:00
|
|
|
|
|
|
|
- script: |
|
|
|
|
go build ./common/buf
|
2019-06-06 12:52:26 +00:00
|
|
|
condition: always()
|
2019-06-06 12:08:32 +00:00
|
|
|
workingDirectory: '$(Build.SourcesDirectory)'
|
|
|
|
displayName: 'Test Buf error'
|