Update coverage.yml #12
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
name: Azure CLI AzDev Setup | |
on: | |
push: | |
branches: | |
- dev | |
workflow_dispatch: | |
jobs: | |
first-runner: | |
name: Frist Runner Setup | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repositories | |
run: | | |
set -ev | |
# Clone azure-cli | |
git clone -q --single-branch -b dev https://github.com/Azure/azure-cli.git ./azure-cli | |
git clone -q --single-branch -b main https://github.com/Azure/azure-cli-extensions.git ./azure-cli-extensions | |
- name: Set Up Python Environment | |
run: | | |
set -ev | |
python -m venv env | |
chmod +x env/bin/activate | |
source ./env/bin/activate | |
python -m pip install -U pip | |
- name: Install AzDev | |
run: | | |
set -ev | |
source ./env/bin/activate | |
pip install azdev | |
azdev --version | |
- name: Setup AzDev with Repos | |
run: | | |
set -ev | |
source ./env/bin/activate | |
pip install setuptools==70.0.0 wheel==0.30.0 | |
azdev setup -c ./azure-cli -r ./azure-cli-extensions --debug | |
pip list -v | |
- name: List Azure CLI Commands | |
run: | | |
set -ev | |
source ./env/bin/activate | |
az --version | |
azdev extension add "*" | |
azdev statistics list-command-table CLI --statistics-only | |
second-runner: | |
name: Second Runner Setup2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repositories | |
run: | | |
set -ev | |
git clone -q --single-branch -b dev https://github.com/Azure/azure-cli.git ./azure-cli | |
git clone -q --single-branch -b main https://github.com/Azure/azure-cli-extensions.git ./azure-cli-extensions | |
- name: Check Out Azure CLI Commits | |
run: | | |
set -ev | |
cd ./azure-cli | |
git checkout f205ee442b992525947ca88edca1254ba8fc278b | |
git switch -c f205ee442b992525947ca88edca1254ba8fc278b | |
- name: Check Out Azure CLI Extensions Commits | |
run: | | |
set -ev | |
cd ./azure-cli-extensions | |
git checkout fc5ae181336f94ac899495a46d1bf47ce1614efa | |
git switch -c fc5ae181336f94ac899495a46d1bf47ce1614efa | |
- name: Set Up Python Environment | |
run: | | |
set -ev | |
python -m venv env | |
chmod +x env/bin/activate | |
source ./env/bin/activate | |
python -m pip install -U pip | |
- name: Install AzDev | |
run: | | |
set -ev | |
source ./env/bin/activate | |
pip install azdev | |
azdev --version | |
- name: Setup AzDev with Repos | |
run: | | |
set -ev | |
source ./env/bin/activate | |
pip install setuptools==70.0.0 wheel==0.30.0 | |
azdev setup -c ./azure-cli -r ./azure-cli-extensions --debug | |
pip list -v | |
- name: List Azure CLI Commands | |
run: | | |
set -ev | |
source ./env/bin/activate | |
pip install distro xmltodict~=0.12 websocket-client~=1.3.1 sshtunnel~=0.1.4 semver==2.13.0 | |
az --version | |
azdev extension add "*" | |
azdev statistics list-command-table CLI --statistics-only |