Skip to content

Commit

Permalink
RunLiveTestTaskCommented (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-soujanya committed Jan 27, 2023
1 parent d3263a6 commit bebbae7
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .azure-pipelines/azure-pipelines-live-test-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,23 @@ jobs:
- template: templates/download-install-local-azure-devops-cli-extension.yml

# Run a Python script.
- task: PythonScript@0
inputs:
scriptSource: 'filePath'
scriptPath: 'scripts/prepareLiveRecordingTestsRun.py'
failOnStderr: true
env:
AZURE_DEVOPS_EXT_PAT: $(pat)

- script: pytest tests --junitxml "TEST-results.xml"
displayName: 'Run Live Tests'
env:
AZURE_DEVOPS_EXT_PAT: $(pat)

- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '**TEST-*.xml'
searchFolder: '$(System.DefaultWorkingDirectory)'
condition: succeededOrFailed()
# - task: PythonScript@0
# inputs:
# scriptSource: 'filePath'
# scriptPath: 'scripts/prepareLiveRecordingTestsRun.py'
# failOnStderr: true
# env:
# AZURE_DEVOPS_EXT_PAT: $(pat)

# - script: pytest tests --junitxml "TEST-results.xml"
# displayName: 'Run Live Tests'
# env:
# AZURE_DEVOPS_EXT_PAT: $(pat)

# - task: PublishTestResults@2
# displayName: 'Publish Test Results'
# inputs:
# testResultsFormat: 'JUnit'
# testResultsFiles: '**TEST-*.xml'
# searchFolder: '$(System.DefaultWorkingDirectory)'
# condition: succeededOrFailed()

0 comments on commit bebbae7

Please sign in to comment.