File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ [run]
2
+ source = vllm
3
+ omit =
4
+ */tests/*
5
+ */test_*
6
+ */__pycache__/*
7
+ */build/*
8
+ */dist/*
9
+ */vllm.egg-info/*
10
+ */third_party/*
11
+ */examples/*
12
+ */benchmarks/*
13
+ */docs/*
14
+
15
+ [report]
16
+ exclude_lines =
17
+ pragma: no cover
18
+ def __repr__
19
+ if self.debug:
20
+ if settings.DEBUG
21
+ raise AssertionError
22
+ raise NotImplementedError
23
+ if 0:
24
+ if __name__ == .__main__.:
25
+ class .*\bProtocol\):
26
+ @(abc\.)?abstractmethod
27
+
28
+ [html]
29
+ directory = htmlcov
30
+
31
+ [xml]
32
+ output = coverage.xml
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pytest-asyncio
6
6
pytest-rerunfailures
7
7
pytest-shard
8
8
pytest-timeout
9
+ pytest-cov
9
10
10
11
# testing utils
11
12
backoff # required for phi4mm test
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ colorful==0.5.6
135
135
# via ray
136
136
contourpy==1.3.0
137
137
# via matplotlib
138
+ coverage==7.10.6
139
+ # via pytest-cov
138
140
cramjam==2.9.0
139
141
# via fastparquet
140
142
cupy-cuda12x==13.6.0
@@ -686,7 +688,9 @@ platformdirs==4.3.6
686
688
plotly==5.24.1
687
689
# via genai-perf
688
690
pluggy==1.5.0
689
- # via pytest
691
+ # via
692
+ # pytest
693
+ # pytest-cov
690
694
polars==1.29.0
691
695
# via mteb
692
696
pooch==1.8.2
@@ -786,6 +790,7 @@ pytest==8.3.5
786
790
# buildkite-test-collector
787
791
# genai-perf
788
792
# pytest-asyncio
793
+ # pytest-cov
789
794
# pytest-forked
790
795
# pytest-mock
791
796
# pytest-rerunfailures
@@ -796,6 +801,8 @@ pytest==8.3.5
796
801
# terratorch
797
802
pytest-asyncio==0.24.0
798
803
# via -r requirements/test.in
804
+ pytest-cov==6.3.0
805
+ # via -r requirements/test.in
799
806
pytest-forked==1.6.0
800
807
# via -r requirements/test.in
801
808
pytest-mock==3.14.0
You can’t perform that action at this time.
0 commit comments