Add a chart to show the total the number of models (#6169) #543
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: Scale Config Validator | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- .github/workflows/scale_config_validation.yml | |
- .github/scale-config.yml | |
- .github/scripts/validate_scale_config.py | |
jobs: | |
scale-config-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install pyyaml==6.0.1 jsonschema==4.23.0 | |
- name: Validate Scale Config | |
run: | | |
pwd | |
python3 .github/scripts/validate_scale_config.py |