-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix tests * No more allow failures * Allow failures for now
- Loading branch information
1 parent
386bf4c
commit dc94a3b
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# Install CLI & CLI testsdk | ||
echo "Installing azure-cli-testsdk and azure-cli..." | ||
pip install "git+https://github.com/Azure/azure-cli@dev#egg=azure-cli-testsdk&subdirectory=src/azure-cli-testsdk" -q | ||
echo "Installed." | ||
|
||
for d in src/*/azext_*/tests; | ||
do echo "Running tests for $d"; | ||
python -m unittest discover -v $d; | ||
if [ -d $d ]; then | ||
python -m unittest discover -v $d; | ||
else | ||
echo "Skipped $d as not a directory." | ||
fi | ||
done; |