forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{CI} Optimize the extension test: Use
azdev test
for testing, consi…
…stent with the main repo (Azure#5925) * refine extension test * Update test_source.py * update
- Loading branch information
1 parent
30c3bd4
commit 4d330ce
Showing
4 changed files
with
74 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
parameters: | ||
- name: CLIRepoPath | ||
type: string | ||
default: '../azure-cli' | ||
- name: CLIExtensionRepoPath | ||
type: string | ||
default: './' | ||
steps: | ||
- bash: | | ||
set -ev | ||
python -m venv env | ||
chmod +x env/bin/activate | ||
source ./env/bin/activate | ||
# clone azure-cli | ||
git clone -q --single-branch -b dev https://github.com/Azure/azure-cli.git ../azure-cli | ||
python -m pip install -U pip | ||
pip install azdev | ||
azdev --version | ||
azdev setup -c $CLI_REPO_PATH -r $CLI_EXT_REPO_PATH --debug | ||
pip list -v | ||
az --version | ||
displayName: 'azdev setup' | ||
env: | ||
CLI_REPO_PATH: ${{ parameters.CLIRepoPath }} | ||
CLI_EXT_REPO_PATH: ${{ parameters.CLIExtensionRepoPath }} |
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
This file was deleted.
Oops, something went wrong.