# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
  branches:
    include:
    - main
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/cognitiveservices/

pr:
  branches:
    include:
    - main
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/cognitiveservices/

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: cognitiveservices
    TestTimeoutInMinutes: 150
    Artifacts:
    - name: azure-cognitiveservices-personalizer
      safeName: azurecognitiveservicespersonalizer
    - name: azure-mgmt-cognitiveservices
      safeName: azuremgmtcognitiveservices
    - name: azure-ai-transcription
      safeName: azureaitranscription