Skip to content

CI

CI #37

Workflow file for this run

name: CI
on:
push:
pull_request:
repository_dispatch:
types: [trigger-workflow]
schedule:
- cron: '0 0 * * *'
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:
- projects/seeedstudio-2ch-em/seeedstudio-2ch-em
- projects/seeedstudio-iot-button/seeedstudio-iot-button
- projects/xiao-soil-moisture-monitor/xiao-soil-moisture-monitor
#### Modify above here to match your project ####
esphome-version:
- stable
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 }}