ci: manually check for errors in check_config
This commit is contained in:
parent
8704e49d8d
commit
ebcdaf3f6e
@ -9,7 +9,13 @@ variables:
|
|||||||
- &pytest_base
|
- &pytest_base
|
||||||
depends_on: []
|
depends_on: []
|
||||||
commands:
|
commands:
|
||||||
- hass -c $CI_WORKSPACE --script check_config
|
- |
|
||||||
|
output=$(hass -c $CI_WORKSPACE --script check_config 2>&1)
|
||||||
|
echo "$output"
|
||||||
|
if echo "$output" | grep -q "ERROR"; then
|
||||||
|
echo "Configuration check failed"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
environment:
|
environment:
|
||||||
HA_RECORDER_DB_URL: dummy
|
HA_RECORDER_DB_URL: dummy
|
||||||
PY_COLORS: "1"
|
PY_COLORS: "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user