diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7795979..2d3a1f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,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('configuration.yaml'), Loader=Loader)" + - hass --config "${CI_PROJECT_DIR}/home-assistant" --script check_config