-
-
Notifications
You must be signed in to change notification settings - Fork 2
executable file
·45 lines (38 loc) · 1.19 KB
/
homeassistant.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 }}'