test: run validation script from CI
Run the schema validation script when in the OpenBMC continuous
integration environment. This ensures that both the schema and EM JSON
documents are always valid.
A handful of schema are known to fail - add an xfail file until those
can be fixed up.
Change-Id: Ifabfcce0f7953cd0e3bd5489bb0bbc2ce3e6989d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/scripts/run-ci.sh b/scripts/run-ci.sh
new file mode 100644
index 0000000..c44e3d4
--- /dev/null
+++ b/scripts/run-ci.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+scripts/validate-configs.py -v -k -e test/expected-schema-errors.txt