[v2] Initial release - simplify the repository #11
Workflow file for this run
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
# Validate ESPHome packages using latest published components | |
name: Validate ESPHome packages | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
tests: | |
name: "${{ matrix.version }}" | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["esp32"] | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: "Install Python dependencies" | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: "Validate ${{ matrix.version }}" | |
run: esphome config tests/office-desk-${{ matrix.version }}.yaml | |
- name: "Compile ${{ matrix.version }}" | |
run: esphome compile tests/office-desk-${{ matrix.version }}.yaml |