mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-24 03:26:06 +02:00
Update ci.yml
Found The workflow installs test deps from the repo root (uv sync --group test), but pytest is defined in backend/pyproject.toml, so it never gets installed for the backend environment. I’m updating CI to sync the backend project explicitly before running tests.
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
with:
|
||||
python-version-file: "pyproject.toml"
|
||||
- name: Install dependencies
|
||||
run: uv sync --group test
|
||||
run: uv sync --directory backend --group test
|
||||
- run: uv run --directory backend python -c "from services.fetchers.retry import with_retry; from services.env_check import validate_env; print('Module imports OK')"
|
||||
- name: Run tests
|
||||
run: uv run --directory backend pytest tests -v --tb=short
|
||||
|
||||
Reference in New Issue
Block a user