mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 20:29:15 +00:00
CI: check all metadata when the schema is changed
This commit is contained in:
parent
656fabd40d
commit
981208d843
1 changed files with 3 additions and 0 deletions
|
|
@ -188,6 +188,9 @@ schema validation:
|
|||
- pip install check-jsonschema
|
||||
script:
|
||||
- check-jsonschema --check-metaschema schemas/metadata.json || exit 1
|
||||
- *get_target_source_refs
|
||||
- git diff --exit-code --name-only "${TARGET_REF}...${SOURCE_REF}" schemas/metadata.json
|
||||
|| { check-jsonschema --schemafile schemas/metadata.json metadata/*.yml || exit 1; exit; }
|
||||
- set -xe
|
||||
- *get_changed_apps
|
||||
- if [ -z "$CHANGED" ]; then exit; fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue