generated from esphome/esphome-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (39 loc) · 1.07 KB
/
ci.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
name: CI
on:
push:
workflow_dispatch:
pull_request:
paths:
- '*.yaml'
- '.github/workflows/ci.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
ci:
name: Building ${{ matrix.file }} / ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
#### Modify below here to match your project ####
file:
- aquaponics-kit
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/[email protected]
- name: ESPHome ${{ matrix.esphome-version }}
uses: esphome/[email protected]
with:
yaml-file: ${{ matrix.file }}.yaml
version: ${{ matrix.esphome-version }}
- name: ESPHome ${{ matrix.esphome-version }} Factory
uses: esphome/[email protected]
with:
yaml-file: ${{ matrix.file }}.factory.yaml
version: ${{ matrix.esphome-version }}