[CI] Per-model, per-entry-mode code coverage collection (#5593)
Signed-off-by: Shenglei Fu <sfu@confluent.io> Signed-off-by: Shenglei Fu <117230642+ShengleiFu@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: Alicia <115451386+congw729@users.noreply.github.com> Co-authored-by: wangyu <53896905+yenuo26@users.noreply.github.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
7 files changed
+263
-7
No files matched your search
@@ -301,6 +301,21 @@ filterwarnings = [
|
||||
"ignore:.*does not have '__bases__' attribute.*:UserWarning",
|
||||
]
|
||||
|
||||
[tool.coverage.run]
|
||||
core = "sysmon"
|
||||
source = ["vllm_omni"]
|
||||
# Online-serving tests launch the server via subprocess.Popen and stop it with
|
||||
# SIGTERM. pytest-cov no longer instruments subprocesses implicitly, and a
|
||||
# SIGTERM-ed process discards its data, so without patch/sigterm a coverage run
|
||||
# over an online test measures only the pytest parent.
|
||||
patch = ["subprocess"]
|
||||
concurrency = ["multiprocessing", "thread"]
|
||||
sigterm = true
|
||||
|
||||
[tool.coverage.report]
|
||||
show_missing = true
|
||||
skip_covered = true
|
||||
|
||||
[tool.typos.default]
|
||||
extend-ignore-identifiers-re = [
|
||||
".*_thw",
|
||||
|
||||
Reference in new issue
Block a user