Skip to content

Commit b8c5f5f

Browse files
authored
Merge pull request #615 from plugwise/debug
Fix coverage from recent v3/v4 changes
2 parents 871a763 + 6683e03 commit b8c5f5f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/verify.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ jobs:
5151
pip install uv
5252
uv pip install -U pip setuptools wheel
5353
uv pip install -r requirements_test.txt -r requirements_commit.txt
54-
# TODO: Remove after update of aiohttp beyond 3.10.0
55-
uv pip show aiohttp | grep -q "Version: 3.10.0" && (grep -q "core.locations" venv/lib/python*/site-packages/aiohttp/web_urldispatcher.py && echo " *** aiohttp already patched" || ( echo "Patching aiohttp 3.10.0 for tests"; patch -tRup0 venv/lib/python*/site-packages/aiohttp/web_urldispatcher.py < patch/aiohttp310.patch && echo " *** aiohttp Patched!" || echo " *** aiohttp patch failed?")) || ( echo " ***"; echo " *** WE CAN REMOVE THE PATCH FOR aiohttp 3.10.0 from $0"; echo " ***" )
5654
- name: Restore pre-commit environment from cache
5755
id: cache-precommit
5856
uses: actions/cache@v4
@@ -203,8 +201,6 @@ jobs:
203201
# 20220124 Mimic setup_test.sh
204202
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
205203
uv pip install --upgrade pytest-asyncio
206-
# TODO: Remove after update of aiohttp beyond 3.10.0
207-
uv pip show aiohttp | grep -q "Version: 3.10.0" && (grep -q "core.locations" venv/lib/python*/site-packages/aiohttp/web_urldispatcher.py && echo " *** aiohttp already patched" || ( echo "Patching aiohttp 3.10.0 for tests"; patch -tRup0 venv/lib/python*/site-packages/aiohttp/web_urldispatcher.py < patch/aiohttp310.patch && echo " *** aiohttp Patched!" || echo " *** aiohttp patch failed?")) || ( echo " ***"; echo " *** WE CAN REMOVE THE PATCH FOR aiohttp 3.10.0 from $0"; echo " ***" )
208204
209205
pytest:
210206
runs-on: ubuntu-latest
@@ -245,6 +241,8 @@ jobs:
245241
with:
246242
name: coverage-${{ matrix.python-version }}
247243
path: .coverage
244+
if-no-files-found: error
245+
include-hidden-files: true
248246

249247
mypy:
250248
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)