25 lines
502 B
YAML
25 lines
502 B
YAML
---
|
|
when:
|
|
- event: [pull_request, tag]
|
|
- event: [push, manual]
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
variables:
|
|
- &pytest_base
|
|
depends_on: []
|
|
commands:
|
|
- hass -c $CI_WORKSPACE --script check_config
|
|
environment:
|
|
HA_RECORDER_DB_URL: dummy
|
|
PY_COLORS: "1"
|
|
|
|
steps:
|
|
- name: hassio-dev
|
|
image: ghcr.io/home-assistant/home-assistant:dev
|
|
<<: *pytest_base
|
|
|
|
- name: hassio-latest
|
|
image: ghcr.io/home-assistant/home-assistant:latest
|
|
<<: *pytest_base
|