From ff4ab9d10de5594334d0b406601a76c9ac4d77fa Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Mon, 6 Jul 2026 02:59:53 -0700 Subject: [PATCH] fix(ci): add pandas, skip orch/torch tests, fix recipe scan tier in test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ci.yml: add pandas to pip install (pipeline tests); ignore test_vl_model_task.py (requires circuitforge_orch) - test_recipe_scan.py: default fixture tier to 'premium' — recipe_scan is a premium feature in tiers.py; test was using 'paid' causing 403 --- .github/workflows/ci.yml | 8 ++++++-- tests/api/test_recipe_scan.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0e67ca..7b5f5ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,13 +29,17 @@ jobs: run: pip install git+https://git.opensourcesolarpunk.com/Circuit-Forge/circuitforge-core.git@main - name: Install dependencies - run: pip install -e . pytest pytest-asyncio httpx ruff psycopg2-binary anthropic + run: pip install -e . pytest pytest-asyncio httpx ruff psycopg2-binary anthropic pandas - name: Lint run: ruff check . - name: Test - run: pytest tests/ -v --tb=short --ignore=tests/fixtures --ignore=tests/test_services/test_docuvision_client.py + run: > + pytest tests/ -v --tb=short + --ignore=tests/fixtures + --ignore=tests/test_services/test_docuvision_client.py + --ignore=tests/services/test_vl_model_task.py frontend: name: Frontend (Vue) diff --git a/tests/api/test_recipe_scan.py b/tests/api/test_recipe_scan.py index a464298..3b66e75 100644 --- a/tests/api/test_recipe_scan.py +++ b/tests/api/test_recipe_scan.py @@ -33,7 +33,7 @@ _GOOD_SCAN_JSON = { } -def _make_session(tier: str = "paid", has_byok: bool = False) -> MagicMock: +def _make_session(tier: str = "premium", has_byok: bool = False) -> MagicMock: mock = MagicMock() mock.tier = tier mock.has_byok = has_byok