Add BNF Example 13 for DPP access #64
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 spec artifacts | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch sources | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install validation dependencies | |
| run: python -m pip install "jsonschema[format]==4.25.1" | |
| - name: Validate JSON schemas, examples, and BNF artifacts | |
| run: python tools/validate_spec_artifacts.py | |
| - name: Run regex tests | |
| run: python -m unittest discover -s tests/query |