Merge pull request #6206 from r-peschke/github_models.yml_generate_model
github models.yml: generate models.py for backend check_json
This commit is contained in:
commit
59f6fa1ed3
3
.github/workflows/models.yml
vendored
3
.github/workflows/models.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user