ci: install aiohttp for route tests

This commit is contained in:
BlackVortexAI
2026-08-29 16:56:29 +02:00
parent 89ed9b1bbc
commit a3b3bc84cc
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install --index-url https://download.pytorch.org/whl/cpu "torch>=2.5,<3"
python -m pip install "numpy>=1.26,<3" "Pillow>=10,<13" "jsonschema>=4.20,<5"
python -m pip install "aiohttp>=3.10,<4" "numpy>=1.26,<3" "Pillow>=10,<13" "jsonschema>=4.20,<5"
- name: Validate Python syntax
run: python -m compileall -q __init__.py py
+15
View File
@@ -0,0 +1,15 @@
import unittest
from pathlib import Path
class CiWorkflowTests(unittest.TestCase):
def test_python_route_test_dependencies_are_installed(self):
workflow = (
Path(__file__).parents[1] / ".github" / "workflows" / "validate.yml"
).read_text(encoding="utf-8")
self.assertIn('"aiohttp>=3.10,<4"', workflow)
if __name__ == "__main__":
unittest.main()