|
|
@ -30,7 +30,6 @@ inocode: |
|
|
yaml: |
|
|
yaml: |
|
|
image: "python:alpine" |
|
|
image: "python:alpine" |
|
|
before_script: |
|
|
before_script: |
|
|
- pip install "PyYAML" |
|
|
|
|
|
|
|
|
- pip install "homeassistant" |
|
|
script: |
|
|
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 |