ha-testing/.drone.yml
2021-09-02 11:17:46 +02:00

27 lines
615 B
YAML

# Generic Home Assistant template
.ha: &ha
stage: homeassistant
variables:
PYTHONPATH: "/usr/src/app:$PYTHONPATH"
before_script:
- python -m homeassistant --version
- mv fake_secrets.yaml secrets.yaml
# remove files which fail CI checks due to HACS installed addons
- rm packages/network_map.yaml
script:
- |
python -m homeassistant \
--config $CI_PROJECT_DIR \
--script check_config \
--info all
tags:
- hass
# Home Assistant test jobs
ha-latest:
<<: *ha
image:
name: homeassistant/home-assistant:latest
entrypoint: [""]
needs: []