ci: skip dev/test/lint groups when installing langchain-profiles CLI (#36086)

The reusable refresh_model_profiles workflow sparse-checks out only
libs/model-profiles from the langchain monorepo. `uv sync` fails because
the test/dev/lint dependency groups reference sibling editable packages
(../langchain_v1, ../core) that aren't present in the sparse checkout.

Restrict to the default dependency group so only the runtime deps
(httpx, tomli, typing-extensions) are installed — which is all the CLI
needs.
This commit is contained in:
Mason Daugherty
2026-03-18 14:07:15 -04:00
committed by GitHub
parent c4abc91ed9
commit f33667fef3

View File

@@ -128,7 +128,7 @@ jobs:
- name: "📦 Install langchain-profiles CLI"
working-directory: ${{ steps.cli.outputs.dir }}
run: uv sync
run: uv sync --no-group test --no-group dev --no-group lint
- name: "✅ Validate providers input"
env: