fix(ci): add pandas, skip orch/torch tests, fix recipe scan tier in test
- 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
This commit is contained in:
parent
71dd12072c
commit
ff4ab9d10d
2 changed files with 7 additions and 3 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue