From 72d5ee06d3573f393d1a2a633f55e80263f0e10c Mon Sep 17 00:00:00 2001 From: Joshua Sangmeister Date: Mon, 4 Oct 2021 15:18:29 +0200 Subject: [PATCH] Fix initial data workflow --- .github/workflows/models.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/models.yml b/.github/workflows/models.yml index 6e7d08876..dc6d74591 100644 --- a/.github/workflows/models.yml +++ b/.github/workflows/models.yml @@ -131,5 +131,8 @@ jobs: - name: Export migrated data from the datastore run: "curl --header 'Content-Type: application/json' -d '{}' http://localhost:9010/internal/datastore/reader/get_everything 2> /dev/null | python3 dev-commands/strip-meta-fields.py > export.json" + - name: generate models.py for next step + run: python openslides-backend/cli/generate_models.py docs/models.yml + - name: Validate exported initial-data.json run: python openslides-backend/cli/check_json.py --partial export.json