From f81738a06eae7db2f37cab882e59e5813ddae1c9 Mon Sep 17 00:00:00 2001 From: Ralf Peschke Date: Wed, 11 Aug 2021 11:29:12 +0200 Subject: [PATCH] github models.yml: generate models.py for backend check_json --- .github/workflows/models.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/models.yml b/.github/workflows/models.yml index f04151749..5d05c00fd 100644 --- a/.github/workflows/models.yml +++ b/.github/workflows/models.yml @@ -44,5 +44,8 @@ jobs: - name: set pythonpath run: echo "PYTHONPATH=openslides-backend" >> $GITHUB_ENV + - name: generate models.py for next step + run: python openslides-backend/cli/generate_models.py + - name: Validate example-data.json run: python openslides-backend/cli/check_json.py docs/example-data.json docker/initial-data.json