ci: always print diff when schema changes
This commit is contained in:
parent
dabee61d9c
commit
d68ae58854
|
@ -53,11 +53,11 @@ jobs:
|
||||||
git checkout $commit
|
git checkout $commit
|
||||||
|
|
||||||
make --quiet schema
|
make --quiet schema
|
||||||
|
git diff -- schema.yml
|
||||||
git add schema.yml
|
git add schema.yml
|
||||||
git diff-index --quiet HEAD -- || {
|
git diff-index --quiet HEAD -- || {
|
||||||
echo "ERROR: Schema is outdated for commit $commit"
|
echo "ERROR: Schema is outdated for commit $commit"
|
||||||
git show --quiet
|
git show --quiet
|
||||||
git diff -- schema.yml
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue