-
-
Notifications
You must be signed in to change notification settings - Fork 2
executable file
·50 lines (42 loc) · 1.52 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
46
47
48
49
50
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: 📥 Clone custom component - xiaomi_cloud_map_extractor
run: |
git clone https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor.git
mv -v Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/custom_components/* custom_components
- name: Home Assistant Check
uses: frenck/action-home-assistant@v1
with:
path: home-assistant
secrets: secrets.example.yaml
version: '${{ matrix.version }}'