trigger: - master - dev pool: vmImage: 'ubuntu-latest' steps: - task: GoTool@0 inputs: version: '1.15' - script: | go build ./azblob displayName: 'Compile the SDK' - script: | GORACE=history_size=7 go test -short -cover -v -timeout 20m ./azblob env: ACCOUNT_NAME: $(ACCOUNT_NAME) ACCOUNT_KEY: $(ACCOUNT_KEY) BLOB_STORAGE_ACCOUNT_NAME: $(BLOB_STORAGE_ACCOUNT_NAME) BLOB_STORAGE_ACCOUNT_KEY: $(BLOB_STORAGE_ACCOUNT_KEY) PREMIUM_ACCOUNT_NAME: $(PREMIUM_ACCOUNT_NAME) PREMIUM_ACCOUNT_KEY: $(PREMIUM_ACCOUNT_KEY) SECONDARY_ACCOUNT_NAME: $(SECONDARY_ACCOUNT_NAME) SECONDARY_ACCOUNT_KEY: $(SECONDARY_ACCOUNT_KEY) APPLICATION_ID: $(APPLICATION_ID) CLIENT_SECRET: $(CLIENT_SECRET) TENANT_ID: $(TENANT_ID) SUBSCRIPTION_ID: $(SUBSCRIPTION_ID) RESOURCE_GROUP_NAME: $(RESOURCE_GROUP_NAME)