Skip to content

Commit 9418532

Browse files
committed
test
1 parent 44c5f35 commit 9418532

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines-cli.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)