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:
Manny
2026-03-25 09:55:33 -04:00
committed by GitHub
parent 0c08c30cab
commit f8495e4b36
+1 -1
View File
@@ -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