Skip to content

chore(deps): bump pytest from 9.0.3 to 9.1.1 #67

chore(deps): bump pytest from 9.0.3 to 9.1.1

chore(deps): bump pytest from 9.0.3 to 9.1.1 #67

name: Backend quality
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.14"
cache: pip
cache-dependency-path: requirements-test.txt
- name: Install quality tools and Home Assistant test fixtures
run: python -m pip install -r requirements-test.txt ruff mypy
- name: Format check
run: >-
ruff format --check
custom_components/blueprint_studio/backend/runtime.py
custom_components/blueprint_studio/backend/storage.py
custom_components/blueprint_studio/backend/ticket_manager.py
custom_components/blueprint_studio/backend/operation_tracker.py
custom_components/blueprint_studio/backend/reliability.py
custom_components/blueprint_studio/backend/ai_context.py
custom_components/blueprint_studio/backend/ai_grounding.py
custom_components/blueprint_studio/backend/ai_proposals.py
custom_components/blueprint_studio/backend/ai_transport.py
custom_components/blueprint_studio/backend/ha_metadata.py
tests/test_generated_transfers.py
tests/test_git_process_contract.py
tests/test_security_boundaries.py
- name: Lint
run: ruff check --select E9,F63,F7,F82 custom_components/blueprint_studio tests
- name: Type check modernization modules
run: >-
mypy --ignore-missing-imports --follow-imports=skip
custom_components/blueprint_studio/backend/runtime.py
custom_components/blueprint_studio/backend/storage.py
custom_components/blueprint_studio/backend/ticket_manager.py
custom_components/blueprint_studio/backend/operation_tracker.py
custom_components/blueprint_studio/backend/reliability.py
custom_components/blueprint_studio/backend/ai_context.py
custom_components/blueprint_studio/backend/ai_grounding.py
custom_components/blueprint_studio/backend/ai_proposals.py
custom_components/blueprint_studio/backend/ai_transport.py
custom_components/blueprint_studio/backend/ha_metadata.py
- name: Unit and Home Assistant integration tests
run: pytest --ignore=tests/test_frontend_contract.py
- name: Bytecode compilation
run: python -m compileall -q custom_components/blueprint_studio