Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update README.md

Update README.md #29

Workflow file for this run

name: Test build
on:
push:
pull_request:
jobs:
build:
name: ${{matrix.python}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python:
- 3.12
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}
cache: 'pip' # caching pip dependencies
cache-dependency-path: '**/requirements-dev.txt'
- name: Install esphome
run: pip install -r test/requirements-dev.txt
- uses: actions/cache@v3
id: esphome-cache # use this to check for `cache-hit` ==> if: steps.esphome-cache.outputs.cache-hit != 'true'
with:
path: |
test/.esphome/**
$HOME/.platformio/**
key: ${{ matrix.os }}-${{matrix.python}}-esphome
- name: Check config
run: esphome config test/*.yml
- name: Build
run: esphome compile test/*.yml
- name: Build - no logs
run: esphome -s log_level none compile test/*.yml
- name: Build - full logs
run: esphome -s log_level very_verbose compile test/*.yml