Skip to content

Commit e8c5997

Browse files
committed
github-ci: add schema tests to docs workflow
This will run the schema tests when no code has been modified.
1 parent a9eee5d commit e8c5997

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,7 @@ jobs:
137137
- run: test -e doc/userguide/userguide.pdf
138138
- name: Building HTML documentation
139139
run: cd doc/userguide && make html
140+
- name: Check EVE schema ordering
141+
run: ./scripts/schema-sort.py --check ./etc/schema.json
142+
- name: Check EVE schema has all additionalProperties
143+
run: test $(cat etc/schema.json | jq 'paths( objects | (.type == "object" and (has("additionalProperties") | not) )) | join(".")' | wc -l) = "0"

0 commit comments

Comments
 (0)