File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838
3939 - name : Run tests with coverage
4040 run : |
41- uv run pytest tests/ -v --cov=mcp_documents_reader --cov-report=xml --cov-report=term-missing
42-
43- - name : Upload coverage to Codecov
44- uses : codecov/codecov-action@v4
45- with :
46- file : ./coverage.xml
47- flags : unittests
48- env_vars : OS,PYTHON
49- name : codecov-umbrella
50- fail_ci_if_error : false
41+ uv run pytest tests/ -v --cov=mcp_documents_reader --cov-report=term-missing
5142
5243 lint :
5344 name : Code Quality Checks
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ addopts = [
6464 " -v" ,
6565 " --cov=mcp_documents_reader" ,
6666 " --cov-report=term-missing" ,
67- " --cov-report=xml" ,
6867]
6968asyncio_mode = " auto"
7069
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ def main():
5959 cmd .extend ([
6060 "--cov=mcp_documents_reader" ,
6161 "--cov-report=term-missing" ,
62- "--cov-report=xml" ,
6362 ])
6463
6564 if args .html :
@@ -80,7 +79,7 @@ def main():
8079
8180 if not args .no_cov :
8281 print ("\n 📊 覆盖率报告已生成:" )
83- print (" - XML: coverage.xml " )
82+ print (" - Terminal: 已显示 " )
8483 if args .html :
8584 print (" - HTML: htmlcov/index.html" )
8685
You can’t perform that action at this time.
0 commit comments