[CI] Add CI branch coverage calculation, fix statement coverage results and add log before test for buildkite log group (#1120)
Signed-off-by: wangyu31577 <wangyu31577@hundsun.com> Co-authored-by: wangyu31577 <wangyu31577@hundsun.com>
This commit is contained in:
1 parent
8135ee81e6
commit
398ae95b96
3 files changed
+20
-11
No files matched your search
@@ -60,6 +60,12 @@ def clean_gpu_memory_between_tests():
|
||||
_run_post_test_cleanup()
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def log_test_name_before_test(request):
|
||||
print(f"--- Running test: {request.node.name}")
|
||||
yield
|
||||
|
||||
|
||||
def _run_pre_test_cleanup(enable_force=False):
|
||||
if os.getenv("VLLM_TEST_CLEAN_GPU_MEMORY", "0") != "1" and not enable_force:
|
||||
print("GPU cleanup disabled")
|
||||
|
||||
Reference in new issue
Block a user