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
diff --git a/test/expected-schema-errors.txt b/test/expected-schema-errors.txt
new file mode 100644
index 0000000..482d819
--- /dev/null
+++ b/test/expected-schema-errors.txt
@@ -0,0 +1,5 @@
+FBTP.json
+R1000 Chassis.json
+R2000 Chassis.json
+STP P4000 Chassis.json
+WFT Baseboard.json