Codebase list golang-github-gobuffalo-packr / 3f61a4e2-dd13-4f8d-a4f7-1c1fc94d6403/main azure-tests.yml
3f61a4e2-dd13-4f8d-a4f7-1c1fc94d6403/main

Tree @3f61a4e2-dd13-4f8d-a4f7-1c1fc94d6403/main (Download .tar.gz)

azure-tests.yml @3f61a4e2-dd13-4f8d-a4f7-1c1fc94d6403/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 ./...
      go install -v ./packr
      cd v2
      go get -t -v ./...
      go test -race ./...
      go install -v ./packr2
    workingDirectory: "$(modulePath)"
    displayName: "Tests"