Modify the existing coverage collection method (#3573)

fix cov report
This commit is contained in:
YUNSHEN XIE
2025-08-25 10:35:35 +08:00
committed by GitHub
parent 7821534ff5
commit 46664985fc
4 changed files with 23 additions and 5 deletions

31
tests/cov_pytest.ini Normal file
View File

@@ -0,0 +1,31 @@
[pytest]
# 跳过目录
addopts =
--ignore=ci_use
--ignore=ce
--ignore=layers/test_append_attention.py
--ignore=layers/test_attention.py
--ignore=operators/test_rejection_top_p_sampling.py
--ignore=operators/test_perchannel_gemm.py
--ignore=operators/test_scaled_gemm_f8_i4_f16.py
--ignore=operators/test_topp_sampling.py
--ignore=operators/test_stop_generation.py
--ignore=operators/test_air_topp_sampling.py
--ignore=operators/test_fused_moe.py
--ignore=operators/test_stop_generation_multi_ends.py
--ignore=graph_optimization/test_cuda_graph.py
--ignore=graph_optimization/test_cuda_graph_dynamic_subgraph.py
--ignore=graph_optimization/test_cuda_graph_spec_decode
--ignore=layers/test_quant_layer.py
--ignore=operators/test_token_penalty.py
--ignore=operators/test_split_fuse.py
--ignore=operators/test_flash_mask_attn.py
--ignore=operators/test_w4afp8_gemm.py
--ignore=operators/test_tree_mask.py
--cov=fastdeploy
--cov-branch
--cov-append
--cov-report=
# 输出更详细的结果
console_output_style = progress