Skip to content

Checks

Checks #1985

Workflow file for this run

name: Checks
on:
push:
branches:
- dev
- master
- release/*
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
validate:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: "actions/checkout@v4"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements_test.txt ]; then pip install -r requirements_test.txt; fi
- name: Test with pytest
run: |
pytest
- name: Hassfest
uses: home-assistant/actions/hassfest@master
- name: HACS validation
uses: "hacs/action@main"
with:
category: "integration"