Skip to content

Commit

Permalink
test telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli committed Apr 12, 2021
1 parent 7c16947 commit 3ad452c
Showing 1 changed file with 22 additions and 31 deletions.
53 changes: 22 additions & 31 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,31 +372,39 @@ jobs:
displayName: 'Test pip Install'
- job: UnitTest
displayName: Unit Test for Core and Telemetry
- job: TestCore
displayName: Unit Test for Core
timeoutInMinutes: 10
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
Python36:
python.version: '3.6'
Python38:
python.version: '3.8'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '$(python.version)'
module: 'azure-cli-core'

- job: TestTelemetry
displayName: Unit Test for Telemetry
timeoutInMinutes: 10
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
Python36:
python.version: '3.6'
tox_env: 'py36'
Python38:
python.version: '3.8'
tox_env: 'py38'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
- bash: pip install --upgrade pip tox
displayName: 'Install pip and tox'
- bash: ./scripts/ci/unittest.sh
displayName: 'Run Unit Test'
env:
TOXENV: $(tox_env)
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '$(python.version)'
module: 'azure-cli-telemetry'

- job: IntegrationTestAgainstProfiles
displayName: Integration Test against Profiles
Expand Down Expand Up @@ -439,23 +447,6 @@ jobs:
pythonVersion: '$(python.version)'
profile: 'latest'

- job: TestCore
displayName: Test Core
timeoutInMinutes: 120
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
Python36:
python.version: '3.6'
Python38:
python.version: '3.8'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '$(python.version)'
module: 'azure-cli-core'

- job: AutomationTest20200901
displayName: Automation Test (Profile 2020-09-01)
timeoutInMinutes: 120
Expand Down

0 comments on commit 3ad452c

Please sign in to comment.