| 1 |
parameters: |
| 2 |
pythonVersion: '' |
| 3 |
runOnlyRecordedTests: 'false' |
| 4 |
runWithAzureCliReleased: 'false' |
| 5 |
|
| 6 |
steps: |
| 7 |
- task: UsePythonVersion@0 |
| 8 |
inputs: |
| 9 |
versionSpec: ${{ parameters.pythonVersion }} |
| 10 |
architecture: 'x64' |
| 11 |
|
| 12 |
- ${{ if eq(parameters.runWithAzureCliReleased, 'false') }}: |
| 13 |
- template: install-azure-cli-edge.yml |
| 14 |
|
| 15 |
- ${{ if eq(parameters.runWithAzureCliReleased, 'true') }}: |
| 16 |
- template: install-azure-cli-edge.yml |
| 17 |
|
| 18 |
- template: download-install-local-azure-test-sdk.yml |
| 19 |
|
| 20 |
- template: setup-ci-machine.yml |
| 21 |
|
| 22 |
- template: download-install-local-azure-devops-cli-extension.yml |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
- task: PublishTestResults@2 |
| 33 |
displayName: 'Publish Test Results' |
| 34 |
inputs: |
| 35 |
testResultsFormat: 'JUnit' |
| 36 |
testResultsFiles: '**TEST-*.xml' |
| 37 |
searchFolder: '$(System.DefaultWorkingDirectory)' |
| 38 |
condition: succeededOrFailed() |