Update coverage.yml #4
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 --depth 1 -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 | |
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 | |
pip install setuptools==70.0.0 wheel==0.30.0 | |
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 --depth 1 -b main https://github.com/Azure/azure-cli-extensions.git ./azure-cli-extensions | |
- name: Check Out Specific Commits | |
run: | | |
set -ev | |
cd ../azure-cli | |
git checkout f205ee4 | |
git switch -c f205ee4 | |
cd ../azure-cli-extensions | |
git checkout fc5ae18 | |
git switch -c fc5ae18 | |
- 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 | |
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 | |
pip install setuptools==70.0.0 wheel==0.30.0 | |
azdev extension add "*" | |
azdev statistics list-command-table CLI --statistics-only |