data: Ornn roadmap — full milestone refactor + auto-sync (region-map 1:1 GitHub milestones) #20
Workflow file for this run
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: Validate | |
| on: | |
| pull_request: | |
| paths: | |
| - "config.json" | |
| - "regions.json" | |
| - "tools/**" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "config.json" | |
| - "regions.json" | |
| - "tools/**" | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Validate config.json schema | |
| run: python3 tools/validate_config.py | |
| working-directory: ${{ github.workspace }} | |
| - name: Validate regions.json schema (cross-refs) | |
| run: python3 tools/validate_regions.py | |
| working-directory: ${{ github.workspace }} | |
| - name: Run unit tests | |
| working-directory: tools | |
| run: python3 -m unittest test_validate.py -v |