Run full schema validation in CI #8
This file contains hidden or 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: Control Plane Validation | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate-control-plane: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install validation dependencies | |
| run: python3 -m pip install -r requirements-dev.txt | |
| - name: Validate JSON syntax | |
| run: make validate-json | |
| - name: Validate JSON Schemas and examples | |
| run: make validate-schemas | |
| - name: Validate control-plane semantic invariants | |
| run: make validate-control-plane |