From 632e54c6d21b06e0755a1e49de081cf071c4588f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Aug 2024 12:11:01 +0200 Subject: [PATCH] Validate schema in CI --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfe8848..6f26dc9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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