File tree 2 files changed +12
-0
lines changed
eng/pipelines/templates/steps
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,19 @@ steps:
32
32
# target is based on data available per-package the --always-succeed should
33
33
# be removed so this script can help enforce correct practices
34
34
# (https://github.com/Azure/azure-sdk-for-python/issues/8697)
35
+
36
+
37
+ - pwsh : |
38
+ pip install -r eng/ci_tools.txt $(if($IsWindows) {"--user" })
39
+ displayName: 'Install Necessary Dependencies'
40
+ condition: succeededOrFailed()
41
+
35
42
- script : |
36
43
cd eng/versioning
37
44
pip install -r requirements.txt
38
45
python find_invalid_versions.py --always-succeed --service=${{parameters.ServiceDirectory}}
39
46
displayName: Find Invalid Versions
47
+ condition: succeededOrFailed()
40
48
41
49
- pwsh : |
42
50
Get-ChildItem $(Build.SourcesDirectory) -Filter "*.py" |
Original file line number Diff line number Diff line change 1
1
steps :
2
2
- task : UsePythonVersion@0
3
3
displayName : ' Use Python $(PythonVersion)'
4
+ condition : succeededOrFailed()
4
5
inputs :
5
6
versionSpec : ' $(PythonVersion)'
6
7
7
8
- pwsh : |
8
9
pip install -r eng/ci_tools.txt $(if($IsWindows) {"--user" })
9
10
ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
10
11
displayName: 'Verify Readmes'
12
+ condition: succeededOrFailed()
11
13
12
14
- pwsh : |
13
15
mkdir "$(Build.ArtifactStagingDirectory)/reports"
14
16
Copy-Item -Path "$(Build.SourcesDirectory)/eng/common/InterdependencyGraph.html" -Destination "$(Build.ArtifactStagingDirectory)/reports/InterdependencyGraph.html"
15
17
displayName: 'Populate Reports Staging Folder'
18
+ condition: succeededOrFailed()
16
19
17
20
- task : PythonScript@0
18
21
displayName : ' Analyze dependencies'
22
+ condition : succeededOrFailed()
19
23
inputs :
20
24
scriptPath : ' scripts/analyze_deps.py'
21
25
arguments : ' --verbose --out "$(Build.ArtifactStagingDirectory)/reports/dependencies.html" --dump "$(Build.ArtifactStagingDirectory)/reports/data.js"'
You can’t perform that action at this time.
0 commit comments