Codebase list golang-github-gobuffalo-packr / 5cbb29c0-28eb-4a41-913d-bed2f964fb72/main v2 / internal / takeon / github.com / markbates / errx / azure-tests.yml
5cbb29c0-28eb-4a41-913d-bed2f964fb72/main

Tree @5cbb29c0-28eb-4a41-913d-bed2f964fb72/main (Download .tar.gz)

azure-tests.yml @5cbb29c0-28eb-4a41-913d-bed2f964fb72/mainraw · history · blame

steps:
  - task: GoTool@0
    inputs:
      version: $(go_version)
  - task: Bash@3
    inputs:
      targetType: inline
      script: |
        mkdir -p "$(GOBIN)"
        mkdir -p "$(GOPATH)/pkg"
        mkdir -p "$(modulePath)"
        shopt -s extglob
        mv !(gopath) "$(modulePath)"
    displayName: "Setup Go Workspace"
  - script: |
      go get -t -v ./...
      go test -race ./...
    workingDirectory: "$(modulePath)"
    displayName: "Tests"