From 4a9d52a2aa92647212242afce0afa7468ce9b7e6 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..dd61e62 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-feature-info-service.json + build: needs: test runs-on: ubuntu-latest