diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5a1a52..d266e3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,6 @@ inocode: yaml: image: "python:alpine" before_script: - - pip install "PyYAML" + - pip install "homeassistant" script: - - cd "${CI_PROJECT_DIR}/home-assistant" - - python -c "from yaml import load, Loader; load(open('ha_configuration.yml'), Loader=Loader)" + - hass --config "${CI_PROJECT_DIR}/home-assistant" --script check_config