Skip to content

align api to security spec & automated ci/cd test for json schema, bnf #1

align api to security spec & automated ci/cd test for json schema, bnf

align api to security spec & automated ci/cd test for json schema, bnf #1

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==4.25.1
- name: Validate JSON schemas, examples, and BNF artifacts
run: python tools/validate_spec_artifacts.py
- name: Run query schema and regex tests
run: python -m unittest discover -s documentation/IDTA-01002-3/modules/ROOT/pages/http-rest-api/test/query