-
Notifications
You must be signed in to change notification settings - Fork 10
93 lines (93 loc) 路 3.01 KB
/
home-assistant.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
---
name: Home Assistant CI
# yamllint disable-line rule:truthy
on:
push:
branches:
- master
pull_request:
jobs:
yamllint:
name: "Yamllint"
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Running YAMLlint
uses: "docker://pipelinecomponents/yamllint:latest"
with:
args: yamllint .
remarklint:
name: "Remarklint"
runs-on: ubuntu-latest
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Running Remark lint
uses: "docker://pipelinecomponents/remark-lint:latest"
continue-on-error: true
with:
args: >
"remark --no-stdout --color --frail
--use preset-lint-recommended ."
home_assistant_stable:
name: "Home-Assistant: Stable"
runs-on: ubuntu-latest
needs: [yamllint, remarklint]
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Copy stub files into configuration folder
run: cp -R ./.stubs/* ./config
- name: Home Assistant Version
uses: "docker://homeassistant/home-assistant:stable"
with:
args: >
python -m homeassistant --version
- name: Home Assistant Check
uses: "docker://homeassistant/home-assistant:stable"
with:
args: python -m homeassistant --config ./config/ --script check_config --info all
home_assistant_beta:
name: "Home-Assistant: Beta"
runs-on: ubuntu-latest
needs: [yamllint, remarklint]
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Copy stub files into configuration folder
run: cp -R ./.stubs/* ./config
- name: Home Assistant Version
uses: "docker://homeassistant/home-assistant:beta"
with:
args: >
python -m homeassistant --version
- name: Home Assistant Check
uses: "docker://homeassistant/home-assistant:beta"
with:
args: python -m homeassistant --config ./config/ --script check_config --info all
home_assistant_dev:
name: "Home-Assistant: Developer"
runs-on: ubuntu-latest
needs: [yamllint, remarklint]
steps:
- name: Getting your configuration from GitHub
uses: actions/checkout@v1
- name: Copy stub files into configuration folder
run: cp -R ./.stubs/* ./config
- name: Home Assistant Version
uses: "docker://homeassistant/home-assistant:dev"
with:
args: >
python -m homeassistant --version
- name: Home Assistant Check
uses: "docker://homeassistant/home-assistant:dev"
with:
args: python -m homeassistant --config ./config/ --script check_config --info all
continue-on-error: true
readme_sync:
runs-on: ubuntu-latest
steps:
- name: Sync readme file
run: cp ./config/README.md
continue-on-error: true