Skip to content

propagate status of input sensors #635

propagate status of input sensors

propagate status of input sensors #635

Workflow file for this run

name: Run PyTest Unit Tests
# yamllint disable-line rule:truthy
on:
push:
pull_request:
workflow_dispatch:
permissions: {}
concurrency:
group: pytest-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: pytest
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
# Home Assistant 2026.6 and later require Python 3.14.
python-version: ["3.14"]
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements_test.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements_test.txt ]; then pip install -r requirements_test.txt; fi
- name: Test with pytest
run: pytest