44name : Latest commit
55
66env :
7- CACHE_VERSION : 22
7+ CACHE_VERSION : 24
88 DEFAULT_PYTHON : " 3.13"
99 PRE_COMMIT_HOME : ~/.cache/pre-commit
1010
4848 pip install virtualenv --upgrade
4949 python -m venv venv
5050 . venv/bin/activate
51- pip install uv
52- uv pip install -U pip setuptools wheel
53- uv pip install -r requirements_test.txt -r requirements_commit.txt
51+ pip install -U pip setuptools wheel
52+ pip install -r requirements_test.txt -r requirements_commit.txt
5453 - name : Restore pre-commit environment from cache
5554 id : cache-precommit
5655 uses : actions/cache@v4
9897 - name : Ruff (check)
9998 run : |
10099 . venv/bin/activate
101- #ruff check plugwise_usb/*py tests/*py
100+ #ruff plugwise_usb/*py tests/*py
102101 echo "***"
103102 echo "***"
104103 echo "Code is not up to par for ruff, skipping"
@@ -108,7 +107,7 @@ jobs:
108107 if : failure()
109108 run : |
110109 . venv/bin/activate
111- ruff check --fix plugwise_usb/*py tests/*py
110+ ruff --fix plugwise_usb/*py tests/*py
112111 git config --global user.name 'autoruff'
113112 git config --global user.email 'plugwise_usb@users.noreply.github.com'
114113 git remote set-url origin https://x-access-token:${{ secrets.PAT_CT }}@github.com/$GITHUB_REPOSITORY
@@ -200,12 +199,11 @@ jobs:
200199 run : |
201200 python -m venv venv
202201 . venv/bin/activate
203- pip install uv
204- uv pip install -U pip setuptools wheel
205- # uv pip install -r requirements_test.txt
202+ pip install -U pip setuptools wheel
203+ #pip install -r requirements_test.txt
206204 # 20220124 Mimic setup_test.sh
207- uv pip install --upgrade -r requirements_test.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
208- uv pip install --upgrade pytest-asyncio
205+ pip install --upgrade -r requirements_test.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
206+ pip install --upgrade pytest-asyncio
209207
210208 pytest :
211209 runs-on : ubuntu-latest
0 commit comments