-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (45 loc) · 1.08 KB
/
test.yaml
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
---
name: 'Test'
on:
pull_request: {}
push:
branches:
- 'master'
schedule:
- cron: '0 0 * * *'
jobs:
esphome:
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
version:
- 'dev'
- 'beta'
- 'latest'
continue-on-error: '${{ matrix.version != ''latest'' }}'
container:
image: 'esphome/esphome:${{ matrix.version }}'
steps:
- uses: 'actions/checkout@v4'
- uses: 'canastro/copy-action@0.0.2'
with:
source: '.github/stubs/esphome_secrets.yaml'
target: 'esphome/secrets.yaml'
- run: 'esphome config esphome/*.yaml'
home-assistant:
runs-on: 'ubuntu-latest'
strategy:
fail-fast: false
matrix:
version:
- 'dev'
- 'beta'
- 'stable'
continue-on-error: '${{ matrix.version != ''stable'' }}'
steps:
- uses: 'actions/checkout@v4'
- uses: 'frenck/action-home-assistant@v1.4'
with:
secrets: '.github/stubs/hass_secrets.yaml'
version: '${{ matrix.version }}'