pkger/azure-tests.yml

21 lines
501 B
YAML
Raw Normal View History

2019-07-30 19:12:21 +03:00
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: |
2019-11-05 23:09:28 +03:00
go get github.com/gobuffalo/buffalo
2019-07-30 19:12:21 +03:00
go get -t -v ./...
go test -race ./...
workingDirectory: "$(modulePath)"
displayName: "Tests"