File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ jobs:
103103 azdev setup -c ./azure-cli -r ./azure-cli-extensions
104104
105105 azdev --version
106- python -m azure.cli
107- pip show azure-cli
108- python -c "import azure.cli; print(azure.cli.__file__)"
109- python -c "import sys; print('\n'.join(sys.path))"
110- az --version
106+ python -m azure.cli || echo "Failed to execute azure.cli directly"
107+ pip show azure-cli || echo "Failed to show azure-cli"
108+ python -c "import azure.cli; print(azure.cli.__file__)" || echo "Failed to print azure.cli location"
109+ python -c "import sys; print('\n'.join(sys.path))" || echo "Failed to print sys.path"
110+ az --version || echo "Failed to get az version"
111111
112112 python -m pytest azdev/ --ignore=azdev/mod_templates --junitxml=junit/test-results.xml --cov=azdev --cov-report=xml
113113 - task : PublishTestResults@2
You can’t perform that action at this time.
0 commit comments