File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments