azure-pipelines.template.yml 318 B

12345678910111213141516
  1. jobs:
  2. - job: ${{ parameters.name }}
  3. timeoutInMinutes: 30
  4. pool:
  5. vmImage: ${{ parameters.vmImage }}
  6. steps:
  7. - checkout: self
  8. - task: GoTool@0
  9. inputs:
  10. version: '1.12'
  11. - script: |
  12. go test -p 1 -v -timeout 30m ./...
  13. workingDirectory: '$(Build.SourcesDirectory)'
  14. displayName: 'Test'