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