Add more checks

This commit is contained in:
Andre Basche 2023-11-20 15:47:39 +01:00
parent 10bcc486e4
commit c8f45ae4bc
2 changed files with 31 additions and 7 deletions

View File

@ -13,7 +13,31 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ["3.11"] include:
- home-assistant: "2023.1.0"
python-version: "3.10"
- home-assistant: "2023.2.0"
python-version: "3.10"
- home-assistant: "2023.3.0"
python-version: "3.10"
- home-assistant: "2023.4.0"
python-version: "3.10"
- home-assistant: "2023.5.0"
python-version: "3.10"
- home-assistant: "2023.6.0"
python-version: "3.10"
- home-assistant: "2023.7.0"
python-version: "3.10"
- home-assistant: "2023.7.0"
python-version: "3.11"
- home-assistant: "2023.8.0"
python-version: "3.11"
- home-assistant: "2023.9.0"
python-version: "3.11"
- home-assistant: "2023.10.0"
python-version: "3.11"
- home-assistant: "2023.11.0"
python-version: "3.11"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -23,6 +47,7 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install homeassistant~=${{ matrix.home-assistant }}
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -r requirements.txt python -m pip install -r requirements.txt
python -m pip install -r requirements_dev.txt python -m pip install -r requirements_dev.txt

View File

@ -1,6 +1,5 @@
homeassistant>=2023.11.3 black>=22.12
black>=23.11 flake8>=6.0
flake8>=6.1 mypy>=0.991
mypy>=1.7 pylint>=2.15
pylint>=3.0 setuptools>=62.3
setuptools>=68.2