Uplift tools and initial changes for networkfabric 2024-02-15-preview APIs #761
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: Verify Metadata | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install `aaz-dev` | |
run: pip install aaz-dev | |
- name: Verify data consistency | |
id: verification | |
run: aaz-dev command-model verify --aaz-path $GITHUB_WORKSPACE | |
continue-on-error: true | |
- name: Check on exception | |
if: steps.verification.outcome != 'success' | |
run: | | |
echo "Please pull the latest <main> branch, and <Export> your command model again." | |
exit 1 |