Skip to content

Home Assistant CI

Home Assistant CI #179

Workflow file for this run

name: Home Assistant CI
on:
push:
branches:
- main
pull_request:
schedule:
- cron: 0 12 * * *
jobs:
home-assistant:
name: Home Assistant Config
runs-on: ubuntu-latest
strategy:
matrix:
version: ['stable', 'beta', 'dev']
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Prepare Stubs
run: cp -R ./stubs/* .
- name: 📥 Clone custom component - Powercalc
run: |
git clone https://github.com/bramstroker/homeassistant-powercalc.git
mv -v homeassistant-powercalc/custom_components/* custom_components
- name: 📥 Clone custom component - Car Wash
run: |
git clone https://github.com/Limych/ha-car_wash.git
mv -v ha-car_wash/custom_components/* custom_components
- name: 📥 Clone custom component - Snowtire
run: |
git clone https://github.com/Limych/ha-snowtire.git
mv -v ha-snowtire/custom_components/* custom_components
- name: Home Assistant Check
uses: frenck/action-home-assistant@v1
with:
path: .
secrets: secrets.example.yaml
version: '${{ matrix.version }}'