parameters:
  - name: TestMarkArgument
    type: string
    default: ''
  - name: CloudConfig
    type: object
    default:
      Public:
        SubscriptionConfiguration: $(python-ml-subscription-scope-configuration)
        Location: eastus2euap
        MatrixReplace:
          - TestSamples=.*/true
  - name: TestTimeoutInMinutes
    type: number
    default: 270
  
extends:
    template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
    parameters:
      ServiceDirectory: ml
      MatrixReplace:
        - TestSamples=.*/true
      TestTimeoutInMinutes: ${{ parameters.TestTimeoutInMinutes }}
      TestMarkArgument: ${{ parameters.TestMarkArgument }}
      CloudConfig: ${{ parameters.CloudConfig }}
      EnvVars:
        TEST_MODE: 'RunLiveNoRecord' # use when allowing preparers to create the rgs for you
        AZURE_TEST_RUN_LIVE: 'true' # use when utilizing the New-TestResources Script
