ha-inlite

Home Assistant integration for in-lite
git clone https://git.stephank.nl/ha-inlite
Log | Files | Refs | README | LICENSE | ZIP

tests.yml (577B)


      1 name: Tests
      2 
      3 on:
      4   push:
      5     branches: [main]
      6   pull_request:
      7 
      8 jobs:
      9   test:
     10     name: pytest
     11     runs-on: ubuntu-latest
     12     strategy:
     13       matrix:
     14         python-version: ["3.12", "3.13"]
     15     steps:
     16       - uses: actions/checkout@v4
     17       - uses: actions/setup-python@v5
     18         with:
     19           python-version: ${{ matrix.python-version }}
     20       - name: Install dependencies
     21         run: pip install pytest pycryptodomex bleak bleak-retry-connector aiohttp
     22       - name: Run tests
     23         run: pytest tests/ -v
     24         env:
     25           PYTHONPATH: custom_components/inlite/lib