File: tests.yml

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (35 lines) | stat: -rw-r--r-- 1,222 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
trigger: none

parameters:
  - name: Services
    type: object
    default:
      - azure-storage-blob
      - azure-storage-file-datalake
      - azure-storage-file-share
      - azure-storage-queue

extends:
    template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
    parameters:
      Location: 'westus2'
      # All 5 service stages run in parallel, and with no parallel limits the tests may get throttled.
      MaxParallel: 2
      ServiceDirectory: storage
      InjectedPackages: $(InjectedPackages)
      Packages: ${{ parameters.Services }}
      MatrixReplace:
        # Use dedicated storage pool in canadacentral with higher memory capacity
        - Pool=.*LINUXPOOL.*/azsdk-pool-storage
        - Pool=.*WINDOWSPOOL.*/azsdk-pool-storage
        - TestSamples=.*/true
      ${{ if contains(variables['Build.DefinitionName'], 'tests-weekly') }}:
        MatrixConfigs:
          - Name: Storage_all_versions_live_test
            Path: sdk/storage/platform-matrix-all-versions.json
            Selection: sparse
            GenerateVMJobs: true
      EnvVars:
        AZURE_SKIP_LIVE_RECORDING: 'True'
        AZURE_TEST_RUN_LIVE: 'true'
        AZURE_SUBSCRIPTION_ID: $(STORAGE_SUBSCRIPTION_ID)