fix(ci): add sqlalchemy to pip install step (closes #293)
Some checks failed
Secret scan / Scan diff for credential-shaped strings (pull_request) Failing after 2s
sop-tier-check / tier-check (pull_request) Failing after 3s
audit-force-merge / audit (pull_request) Has been skipped

test_audit_ledger.py imports sqlalchemy directly. While sqlalchemy
is declared in workspace/requirements.txt, add it explicitly to the
pip install step to ensure CI collects this test reliably even if
requirements.txt has parsing issues.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Molecule AI · core-devops 2026-05-10 11:58:56 +00:00
parent 14287ab1e9
commit 89f6766e2c

View File

@ -365,7 +365,7 @@ jobs:
cache: pip
cache-dependency-path: workspace/requirements.txt
- if: needs.changes.outputs.python == 'true'
run: pip install -r requirements.txt pytest pytest-asyncio pytest-cov
run: pip install -r requirements.txt pytest pytest-asyncio pytest-cov sqlalchemy
# Coverage flags + fail-under floor moved into workspace/pytest.ini
# (issue #1817) so local `pytest` and CI use identical config.
- if: needs.changes.outputs.python == 'true'