Home Assistant CI #27
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: Home Assistant CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: 0 12 * * * | |
jobs: | |
home-assistant: | |
name: Home Assistant Config | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ['stable', 'beta', 'dev'] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Prepare Stubs | |
run: cp -R ./stubs/* . | |
- name: 📥 Clone custom component - Powercalc | |
run: | | |
git clone https://github.com/bramstroker/homeassistant-powercalc.git | |
mv -v homeassistant-powercalc/custom_components/* custom_components | |
- name: 📥 Clone custom component - Car Wash | |
run: | | |
git clone https://github.com/Limych/ha-car_wash.git | |
mv -v ha-car_wash/custom_components/* custom_components | |
- name: 📥 Clone custom component - Snowtire | |
run: | | |
git clone https://github.com/Limych/ha-snowtire.git | |
mv -v ha-snowtire/custom_components/* custom_components | |
- name: Home Assistant Check | |
uses: frenck/action-home-assistant@v1 | |
with: | |
path: . | |
secrets: secrets.example.yaml | |
version: '${{ matrix.version }}' |