From 6cafea3cdef7d7a5c2fcc098e8abe28d9f49a3a0 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 15 Aug 2024 14:12:00 +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 3573f7e..1a62d84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,11 @@ jobs: python -m pip install -r requirements.txt PYTHONPATH=$PWD/src CONFIG_PATH=$PWD/qwc-docker/volumes/config/ python3 test.py + - name: Validate schema + run: | + python -m pip install check-jsonschema + check-jsonschema --check-metaschema schemas/qwc-print-service.json + build: needs: test runs-on: ubuntu-latest