mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
use uv, fix devcontainer, and drop support for HA ≤2023.6 (#1151)
* Update .devcontainer * Drop support for ≤2023.6 * Add .vscode/settings.json * Use async_process_ha_core_config * Fix for HA ≤2023.10 * pop normalized_name * Add comments * use . instead of source * set pytest args * set country * use py3.13 for dev branch of core * set country in test_adaptive_lighting_time_zones_with_default_settings * Add comment
This commit is contained in:
parent
60d07ecd02
commit
f8719994a6
8 changed files with 72 additions and 46 deletions
19
.github/workflows/pytest.yaml
vendored
19
.github/workflows/pytest.yaml
vendored
|
|
@ -14,22 +14,6 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- python-version: "3.10"
|
||||
core-version: "2022.11.5"
|
||||
- python-version: "3.10"
|
||||
core-version: "2022.12.9"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.1.7"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.2.5"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.3.6"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.4.6"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.5.4"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.6.3"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.7.3"
|
||||
- python-version: "3.11"
|
||||
|
|
@ -66,7 +50,7 @@ jobs:
|
|||
core-version: "2024.11.3"
|
||||
- python-version: "3.12"
|
||||
core-version: "2024.12.0"
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13"
|
||||
core-version: "dev"
|
||||
steps:
|
||||
- name: Check out code from GitHub
|
||||
|
|
@ -82,6 +66,7 @@ jobs:
|
|||
timeout-minutes: 60
|
||||
run: |
|
||||
export PYTHONPATH=${PYTHONPATH}:${PWD}
|
||||
source .venv/bin/activate
|
||||
cd core
|
||||
python3 -X dev -m pytest \
|
||||
-vvv \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue