Skip to content

Merge pull request #111 from amitfin/dependabot/pip/ruff-0.7.4 #820

Merge pull request #111 from amitfin/dependabot/pip/ruff-0.7.4

Merge pull request #111 from amitfin/dependabot/pip/ruff-0.7.4 #820

Workflow file for this run

name: "Validate"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
hassfest: # https://developers.home-assistant.io/blog/2020/04/16/hassfest
name: "Hassfest Validation"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4.2.2"
- name: "Run hassfest validation"
uses: "home-assistant/actions/hassfest@master"
hacs: # https://github.com/hacs/action
name: "HACS Validation"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4.2.2"
- name: "Run HACS validation"
uses: "hacs/action@main"
with:
category: "integration"
test:
name: "Tests"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4.2.2"
- name: "Set up Python"
uses: actions/setup-python@v5.3.0
with:
python-version: "3.12"
cache: "pip"
- name: "Install requirements"
run: python3 -m pip install -r requirements.txt
- name: "Run"
run: pytest