From 46a3fde0edd2a3185d9878be979847a8e514b16b Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Aug 2024 14:10:05 +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 8ef034c..23bad80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,11 @@ jobs: python -m pip install -r requirements.txt PYTHONPATH=$PWD/src CONFIG_PATH=$PWD/qwc-docker/volumes/config/ 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