mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Remove redundant double quotes
This commit is contained in:
parent
2036f44606
commit
cebb7475a3
2 changed files with 16 additions and 15 deletions
|
|
@ -1,6 +1,6 @@
|
|||
steps:
|
||||
- script: "python -m pip install tox"
|
||||
displayName: "Setup Python packages"
|
||||
- script: python -m pip install tox
|
||||
displayName: Setup Python packages
|
||||
|
||||
- pwsh: |
|
||||
$toxEnv = '$(python.version)'
|
||||
|
|
@ -9,22 +9,23 @@ steps:
|
|||
}
|
||||
echo 'tox environment: $toxEnv'
|
||||
python -m tox -e $toxEnv -- --junitxml=$(Build.ArtifactStagingDirectory)/tests.xml --debugpy-log-dir=$(Build.ArtifactStagingDirectory)/logs tests
|
||||
displayName: "Run tests using tox"
|
||||
displayName: Run tests using tox
|
||||
env:
|
||||
DEBUGPY_PROCESS_SPAWN_TIMEOUT: 60
|
||||
DEBUGPY_LAUNCH_TIMEOUT: 60
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
condition: failed()
|
||||
displayName: Publish test logs
|
||||
inputs:
|
||||
artifactName: "Test logs"
|
||||
pathToPublish: "$(Build.ArtifactStagingDirectory)/logs"
|
||||
displayName: "Publish test logs"
|
||||
artifactName: Test logs
|
||||
pathToPublish: $(Build.ArtifactStagingDirectory)/logs
|
||||
condition: failed()
|
||||
|
||||
- task: PublishTestResults@2
|
||||
condition: always()
|
||||
displayName: Publish test results
|
||||
inputs:
|
||||
testRunTitle: "$(Agent.JobName)"
|
||||
testResultsFiles: "tests.xml"
|
||||
searchFolder: "$(Build.ArtifactStagingDirectory)"
|
||||
displayName: "Publish test results"
|
||||
testRunTitle: $(Agent.JobName)
|
||||
testResultsFiles: tests.xml
|
||||
searchFolder: $(Build.ArtifactStagingDirectory)
|
||||
condition: always()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "$(python.version)"
|
||||
architecture: "$(architecture)"
|
||||
displayName: "Use Python $(python.version) $(architecture)"
|
||||
versionSpec: $(python.version)
|
||||
architecture: $(architecture)
|
||||
displayName: Use Python $(python.version) $(architecture)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue