github models.yml: generate models.py for backend check_json

This commit is contained in:
Ralf Peschke 2021-08-11 11:29:12 +02:00
parent 2a5b4a3126
commit f81738a06e

View File

@ -44,5 +44,8 @@ jobs:
- name: set pythonpath - name: set pythonpath
run: echo "PYTHONPATH=openslides-backend" >> $GITHUB_ENV 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 - name: Validate example-data.json
run: python openslides-backend/cli/check_json.py docs/example-data.json docker/initial-data.json run: python openslides-backend/cli/check_json.py docs/example-data.json docker/initial-data.json