From f68bf12fee2551bb5ab19ddde7ee8d312b023013 Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Mon, 20 Jul 2026 18:12:33 +0200 Subject: [PATCH] ci: install sqlalchemy so the free-plan metering tests can import cloud.metering --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 670db39..ee02e11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,13 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.11" - # Tests only touch light modules (subtitles/hooks/translate/edit_builder), - # so we install just what they import instead of the full requirements.txt - # (faster-whisper/ultralytics/mediapipe are too heavy for CI). + # Tests only touch light modules (subtitles/hooks/translate/edit_builder + # and the cloud metering helpers), so we install just what they import + # instead of the full requirements.txt (faster-whisper/ultralytics/ + # mediapipe are too heavy for CI). sqlalchemy is needed because + # tests/test_metering_free_plan.py imports cloud.metering. - name: Install test dependencies - run: pip install pytest pillow httpx pydantic + run: pip install pytest pillow httpx pydantic sqlalchemy - name: Run tests run: pytest tests/ -v