Skip to content

Commit 90ef0fb

Browse files
committed
fix: fix pytest in project
1 parent 8f9c552 commit 90ef0fb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/mcp_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
working-directory: ./mcp
3232

3333
- name: Install dependencies
34-
run: uv pip install .
34+
run: uv pip install ".[test]"
3535
working-directory: ./mcp
3636
- name: Run tests
3737
run: uv run pytest

mcp/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ dependencies = [
1313
[project.scripts]
1414
db-context-enrichment = "main:mcp.run"
1515

16+
[project.optional-dependencies]
17+
test = [
18+
"pytest"
19+
]
20+
1621
[tool.setuptools]
1722
py-modules = ["main"]
1823
packages = ["template", "fragment", "common", "model"]

0 commit comments

Comments
 (0)