mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
formatting
This commit is contained in:
parent
a5ced50c13
commit
edd84da7fa
2 changed files with 19 additions and 19 deletions
|
|
@ -11,9 +11,9 @@ jobs:
|
|||
vmImage: "ubuntu-latest"
|
||||
steps:
|
||||
- script: |
|
||||
sudo apt-get update
|
||||
sudo apt-get --yes install gdb
|
||||
sudo sysctl kernel.yama.ptrace_scope=0
|
||||
displayName: 'Install gdb'
|
||||
sudo apt-get update
|
||||
sudo apt-get --yes install gdb
|
||||
sudo sysctl kernel.yama.ptrace_scope=0
|
||||
displayName: "Install gdb"
|
||||
|
||||
- template: "templates/coverage.yml"
|
||||
|
|
|
|||
|
|
@ -2,36 +2,36 @@ steps:
|
|||
- template: "use_python.yml"
|
||||
|
||||
- script: |
|
||||
python -m pip install -U pip setuptools tox
|
||||
displayName: 'Setup Python packages'
|
||||
python -m pip install -U pip setuptools tox
|
||||
displayName: "Setup Python packages"
|
||||
|
||||
- task: SonarCloudPrepare@1
|
||||
displayName: 'Prepare analysis on SonarCloud'
|
||||
displayName: "Prepare analysis on SonarCloud"
|
||||
inputs:
|
||||
SonarCloud: 'SonarCloud-debugpy'
|
||||
SonarCloud: "SonarCloud-debugpy"
|
||||
organization: microsoft
|
||||
scannerMode: CLI
|
||||
extraProperties: |
|
||||
sonar.python.coverage.reportPaths=$(Build.SourcesDirectory)/coverage/coverage.xml
|
||||
sonar.projectKey=microsoft_debugpy
|
||||
sonar.python.coverage.reportPaths=$(Build.SourcesDirectory)/coverage/coverage.xml
|
||||
sonar.projectKey=microsoft_debugpy
|
||||
|
||||
- script: |
|
||||
python -m tox --develop -e py38-cov -- --cov-report=html --cov-report=xml -vv
|
||||
displayName: 'Coverage Run'
|
||||
python -m tox --develop -e py38-cov -- --cov-report=html --cov-report=xml -vv
|
||||
displayName: "Coverage Run"
|
||||
|
||||
- task: SonarCloudAnalyze@1
|
||||
displayName: 'Run Code Analysis'
|
||||
displayName: "Run Code Analysis"
|
||||
|
||||
- task: SonarCloudPublish@1
|
||||
displayName: 'Publish Quality Gate Result'
|
||||
displayName: "Publish Quality Gate Result"
|
||||
inputs:
|
||||
pollingTimeoutSec: '300'
|
||||
pollingTimeoutSec: "300"
|
||||
|
||||
- task: PublishCodeCoverageResults@1
|
||||
displayName: 'Publish Coverage Report'
|
||||
displayName: "Publish Coverage Report"
|
||||
inputs:
|
||||
codeCoverageTool: Cobertura
|
||||
summaryFileLocation: '$(Build.SourcesDirectory)/coverage/coverage.xml'
|
||||
reportDirectory: '$(Build.SourcesDirectory)/coverage/html'
|
||||
summaryFileLocation: "$(Build.SourcesDirectory)/coverage/coverage.xml"
|
||||
reportDirectory: "$(Build.SourcesDirectory)/coverage/html"
|
||||
failIfCoverageEmpty: true
|
||||
condition: always()
|
||||
condition: always()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue