File: ci.yml

package info (click to toggle)
python-azure 20251014%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 766,472 kB
  • sloc: python: 6,314,744; ansic: 804; javascript: 287; makefile: 198; sh: 198; xml: 109
file content (70 lines) | stat: -rw-r--r-- 2,271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 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/ai/
    - sdk/core/

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

extends:
  template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: ai
    TestProxy: true
    BuildDocs: true
    TestTimeoutInMinutes: 60
    # The job "Test ubuntu2404_pypy39" in the "python - ai" pipeline hangs and eventually times out.
    # Disable it until the issue is understood.
    MatrixConfigs:
      - Name: communication_ci_matrix
        Path: sdk/ai/platform-matrix.json
        Selection: sparse
        GenerateVMJobs: true
    MatrixFilters:
      - PythonVersion=^(?!pypy3).*
    # The below were set before when azure-ai-generative and azure-ai-resources packages were built:
    # This is a short term solution to create API review for python azure-ml package only when running pipeline manually
    # Long term solution should be to have different versions on main branch and release branch for python package so APIView can have different revisions for each version.
    # Tracking issue: https://github.com/Azure/azure-sdk-for-python/issues/29196
    # GenerateApiReviewForManualOnly: true
    # This custom matrix config should be dropped once:
    #  * The Azure SDKs removes Python 3.7 from the test matrix
    #  * Once all of azure-ai-generative's extra packages can be installed on Python3.12
    # MatrixConfigs:
    #  - Name: ai_ci_matrix
    #    Path: eng/pipelines/templates/stages/platform-matrix-ai.json
    #    Selection: sparse
    #    GenerateVMJobs: true
    Artifacts:
    - name: azure-ai-projects
      safeName: azureaiprojects
    - name: azure-ai-inference
      safeName: azureaiinference
    - name: azure-ai-agents
      safeName: azureaiagents
    - name: azure-ai-voicelive
      safeName: azureaivoicelive
    # These packages are deprecated:
    # - name: azure-ai-generative
    #   safeName: azureaigenerative
    # - name: azure-ai-resources
    #   safeName: azureairesources