CI #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
paths: | |
- '*.yaml' | |
- '.github/workflows/ci.yml' | |
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: | |
- project-template-esp32 | |
- project-template-esp32-c3 | |
- project-template-esp32-s3 | |
#### Modify above here to match your project #### | |
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 }} |