xref: /openbmc/phosphor-power/phosphor-regulators/test/run-ci.sh (revision 944ff61c1e8c66dcbeb6b621136f868ee6dcd1fe)
1#!/bin/bash
2rc=0
3for file in phosphor-regulators/config_files/*.json
4do
5    phosphor-regulators/tools/validate-regulators-config.py \
6        -s phosphor-regulators/schema/config_schema.json \
7        -c "$file" || rc=1
8done
9exit $rc
10