Skip to content

Commit

Permalink
Validate schema in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Aug 15, 2024
1 parent 37cadf5 commit 632e54c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
python -m pip install -r requirements.txt
PYTHONPATH=$PWD/src CONFIG_PATH=$PWD/tests/config/ DB_URL=postgresql://qwc_admin:qwc_admin@localhost:5439/qwc_services FLASK_DEBUG=1 python test.py
- name: Validate schema
run: |
python -m pip install check-jsonschema
check-jsonschema --check-metaschema schemas/qwc-search-service.json
build:
needs: test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 632e54c

Please sign in to comment.