Skip to content

Commit

Permalink
Update build_test.yaml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
bgavrilMS committed May 9, 2024
1 parent e478ffc commit 83ceaca
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions ado/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,30 @@ steps:
- task: GoTool@0
inputs:
version: '1.22.3'
- task: PowerShell@2
inputs:
targetType: 'inline'
script: 'get-childitem'
- task: Go@0
inputs:
command: 'get'
arguments: '-d -v -t -d ./...'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: "Install dependencies"
- task: Go@0
inputs:
command: 'build'
arguments: './apps/...'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: "Build"
- task: Go@0
inputs:
inputs:
command: 'test'
arguments: '-race -short ./apps/cache/... ./apps/confidential/... ./apps/public/... ./apps/internal/...'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: "Run Unit Tests"

- task: Go@0
inputs:
command: 'test'
arguments: '-race ./apps/tests/integration/...'
workingDirectory: '$(System.DefaultWorkingDirectory)'
displayName: "Run Integration Tests"


0 comments on commit 83ceaca

Please sign in to comment.