Skip to content

Commit

Permalink
Use Python 3.12 for testing against core dev (#3583)
Browse files Browse the repository at this point in the history
* Use Python 3.12 for testing against core dev

* Add missing keys to hass.data in tests
  • Loading branch information
ludeeus authored Apr 9, 2024
1 parent a422090 commit 007addf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ jobs:
- name: 📥 Checkout the repository
uses: actions/[email protected]

- name: 🛠️ Set up Python 3.11
- name: 🛠️ Set up Python 3.12
uses: actions/[email protected]
with:
python-version: "3.11"
python-version: "3.12"
cache: 'pip'
cache-dependency-path: |
requirements_base.txt
Expand Down
2 changes: 2 additions & 0 deletions tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ def async_create_task(coroutine, *args, **kwargs):
hass.data = {
"integrations": {},
"custom_components": {},
"preload_platforms": [],
"missing_platforms": [],
"components": {},
"device_registry": DeviceRegistry(hass),
"entity_registry": EntityRegistry(hass),
Expand Down

0 comments on commit 007addf

Please sign in to comment.