Skip to content

Instantly share code, notes, and snippets.

@SeraphimSerapis
Created October 12, 2020 10:05
Show Gist options
  • Save SeraphimSerapis/b518d338e1a928018546133048acfe53 to your computer and use it in GitHub Desktop.
Save SeraphimSerapis/b518d338e1a928018546133048acfe53 to your computer and use it in GitHub Desktop.
GitLab CI Home Assistant config validation
stage: homeassistant
variables:
PYTHONPATH: "/usr/src/app:$PYTHONPATH"
before_script:
- python -m homeassistant --version
- mv mock_secrets.yaml secrets.yaml
script:
- |
python -m homeassistant \
--config . \
--script check_config \
--info all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment