File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : LiteLLM MCP Tests (folder - tests/mcp_tests)
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ main ]
6
+
7
+ jobs :
8
+ test :
9
+ runs-on : ubuntu-latest
10
+ timeout-minutes : 25
11
+
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+
15
+ - name : Thank You Message
16
+ run : |
17
+ echo "### 🙏 Thank you for contributing to LiteLLM!" >> $GITHUB_STEP_SUMMARY
18
+ echo "Your PR is being tested now. We appreciate your help in making LiteLLM better!" >> $GITHUB_STEP_SUMMARY
19
+
20
+ - name : Set up Python
21
+ uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ' 3.12'
24
+
25
+ - name : Install Poetry
26
+ uses : snok/install-poetry@v1
27
+
28
+ - name : Install dependencies
29
+ run : |
30
+ poetry install --with dev,proxy-dev --extras "proxy semantic-router"
31
+ poetry run pip install "pytest==7.3.1"
32
+ poetry run pip install "pytest-retry==1.6.3"
33
+ poetry run pip install "pytest-cov==5.0.0"
34
+ poetry run pip install "pytest-asyncio==0.21.1"
35
+ poetry run pip install "respx==0.22.0"
36
+ poetry run pip install "pydantic==2.10.2"
37
+ poetry run pip install "mcp==1.10.1"
38
+ poetry run pip install pytest-xdist
39
+
40
+ - name : Setup litellm-enterprise as local package
41
+ run : |
42
+ cd enterprise
43
+ python -m pip install -e .
44
+ cd ..
45
+
46
+ - name : Run MCP tests
47
+ run : |
48
+ poetry run pytest tests/mcp_tests -x -vv -n 4 --cov=litellm --cov-report=xml --durations=5
You can’t perform that action at this time.
0 commit comments