Files
ha-ninlight/.github/workflows/ci.yml
T

30 lines
772 B
YAML

name: CI
on:
push:
pull_request:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v5
with:
cache-dependency-glob: "requirements_dev.txt"
- run: uv venv --python 3.14 .venv && uv pip install --python .venv/bin/python -r requirements_dev.txt
- run: .venv/bin/ruff check . && .venv/bin/ruff format --check .
- run: .venv/bin/pytest -q --cov --cov-report=term-missing
hassfest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: home-assistant/actions/hassfest@master
hacs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: hacs/action@main
with:
category: integration