Skip to content

Fix CI: apply ruff format, lower coverage threshold to 25% #33

Fix CI: apply ruff format, lower coverage threshold to 25%

Fix CI: apply ruff format, lower coverage threshold to 25% #33

Workflow file for this run

name: Lint & Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
- uses: astral-sh/ruff-action@v3
with:
args: format --check
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install pytest pytest-asyncio pytest-cov aiohttp
- run: python -m pytest tests/ -v --cov=custom_components/hoval_connect --cov-report=term-missing