Home Assistant CI #748
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 home-assistant/stubs/* ./home-assistant | |
- name: 📥 Clone custom component - Powercalc | |
run: | | |
git clone https://github.com/bramstroker/homeassistant-powercalc.git | |
mv -v homeassistant-powercalc/custom_components/* home-assistant/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/* home-assistant/custom_components | |
- name: 📥 Clone custom component - Snowtire | |
run: | | |
git clone https://github.com/Limych/ha-snowtire.git | |
mv -v ha-snowtire/custom_components/* home-assistant/custom_components | |
- name: 📥 Clone custom component - xiaomi_cloud_map_extractor | |
run: | | |
git clone https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor.git | |
mv -v Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/custom_components/* home-assistant/custom_components | |
- name: Home Assistant Check | |
uses: frenck/action-home-assistant@v1 | |
with: | |
path: home-assistant | |
secrets: home-assistant/secrets.example.yaml | |
version: '${{ matrix.version }}' |