Skip to content

Commit

Permalink
Update requirements and add python 3.12 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Feb 18, 2024
1 parent 725e56e commit f2fcd14
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
- master

pull_request:
branches: "*"
branches: ["*"]

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Home Assistant Core
colorlog==6.7.0
homeassistant==2023.7.0
homeassistant==2023.12.3
pip>=21.0,<23.2
ruff==0.0.261
pre-commit==3.0.0
flake8==6.0.0
isort==5.12.0
black==23.1.0
pymelcloud==2.5.8
pymelcloud==2.5.9
7 changes: 4 additions & 3 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Strictly for tests
pytest==7.3.1
pytest==7.4.3
pip>=21.0,<23.2
#pytest-cov==2.9.0
#pytest-homeassistant
pytest-homeassistant-custom-component==0.13.42
pytest-homeassistant-custom-component==0.13.85
# From our manifest.json for our custom component
pymelcloud==2.5.8
pymelcloud==2.5.9
2 changes: 1 addition & 1 deletion scripts/develop
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ fi
export PYTHONPATH="${PYTHONPATH}:${PWD}/custom_components"

# Start Home Assistant
hass --config "${PWD}/config" --debug
hass --config "${PWD}/config"

0 comments on commit f2fcd14

Please sign in to comment.