Skip to content

Commit

Permalink
Remove redundant double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamYoblick committed Nov 7, 2024
1 parent 2036f44 commit cebb747
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
25 changes: 13 additions & 12 deletions azure-pipelines/templates/run_tests.yml
Original file line number Diff line number Diff line change
@@ -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)'
Expand All @@ -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()

6 changes: 3 additions & 3 deletions azure-pipelines/templates/use_python.yml
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit cebb747

Please sign in to comment.