File: analyze_dependency.yml

package info (click to toggle)
python-azure 20201208%2Bgit-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,437,920 kB
  • sloc: python: 4,287,452; javascript: 269; makefile: 198; sh: 187; xml: 106
file content (21 lines) | stat: -rw-r--r-- 877 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
steps:
  - task: UsePythonVersion@0
    displayName: 'Use Python $(PythonVersion)'
    inputs:
     versionSpec: '$(PythonVersion)'

  - script: |
     pip install -r eng/ci_tools.txt
     ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
    displayName: 'Verify Readmes'

  - pwsh: |
      mkdir "$(Build.ArtifactStagingDirectory)/reports"
      Copy-Item -Path "$(Build.SourcesDirectory)/eng/common/InterdependencyGraph.html" -Destination "$(Build.ArtifactStagingDirectory)/reports/InterdependencyGraph.html"
    displayName: 'Populate Reports Staging Folder'

  - task: PythonScript@0
    displayName: 'Analyze dependencies'
    inputs:
     scriptPath: 'scripts/analyze_deps.py'
     arguments: '--verbose --out "$(Build.ArtifactStagingDirectory)/reports/dependencies.html" --dump "$(Build.ArtifactStagingDirectory)/reports/data.js"'