ci: manually check for errors in check_config
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-10-18 11:08:43 +02:00
parent 8704e49d8d
commit ebcdaf3f6e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -9,7 +9,13 @@ variables:
- &pytest_base
depends_on: []
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:
HA_RECORDER_DB_URL: dummy
PY_COLORS: "1"