mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
fix(ci): preserve repository paths in dependency coverage reports
This commit is contained in:
parent
21beb9b7b1
commit
dfd0474788
2 changed files with 5 additions and 1 deletions
|
|
@ -140,7 +140,9 @@ jobs:
|
|||
python -m pytest tests/mcp_dependency_tests/test_runner.py \
|
||||
--cov=tests/mcp_dependency_tests \
|
||||
--cov=tests/base_sdk_tests --cov-append --cov-branch \
|
||||
--cov-report=xml:mcp-dependency-coverage.xml
|
||||
--cov-report=
|
||||
uv run --isolated --no-project --python 3.12 --with 'coverage==7.14.0' \
|
||||
coverage xml --rcfile=tests/mcp_dependency_tests/coverage.ini -o mcp-dependency-coverage.xml
|
||||
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
||||
with:
|
||||
name: mcp-dependency-reports-${{ matrix.python }}
|
||||
|
|
|
|||
2
tests/mcp_dependency_tests/coverage.ini
Normal file
2
tests/mcp_dependency_tests/coverage.ini
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[run]
|
||||
relative_files = true
|
||||
Loading…
Add table
Reference in a new issue