If I run,
uv sync --all-groups
uv run pytest testsit succeeds.
If I run,
uv sync --all-groups
uv run --group tests --group inference --exact pytest tests
it fails.
If I run,
uv sync # worker group not default
uv run --group tests --group inference --exact pytest tests
it succeeds.