diff --git a/tools/ci.py b/tools/ci.py index 0791fabe90b..3bb8ef4d72d 100644 --- a/tools/ci.py +++ b/tools/ci.py @@ -493,7 +493,8 @@ def define_testrun(ctx: Context, event_name: str, changed_files: pathlib.Path): if "test:coverage" in labels: ctx.info("Writing 'testrun' to the github outputs file") - testrun = TestRun(type="full", skip_code_coverage=False) + # skip running code coverage for now, was False + testrun = TestRun(type="full", skip_code_coverage=True) with open(github_output, "a", encoding="utf-8") as wfh: wfh.write(f"testrun={json.dumps(testrun)}\n") with open(github_step_summary, "a", encoding="utf-8") as wfh: @@ -504,7 +505,8 @@ def define_testrun(ctx: Context, event_name: str, changed_files: pathlib.Path): elif event_name != "pull_request": # In this case, a full test run is in order ctx.info("Writing 'testrun' to the github outputs file") - testrun = TestRun(type="full", skip_code_coverage=False) + # skip running code coverage for now, was False + testrun = TestRun(type="full", skip_code_coverage=True) with open(github_output, "a", encoding="utf-8") as wfh: wfh.write(f"testrun={json.dumps(testrun)}\n") diff --git a/tools/vm.py b/tools/vm.py index ad9cf9ced14..b520a9dc265 100644 --- a/tools/vm.py +++ b/tools/vm.py @@ -309,7 +309,7 @@ def test( print_tests_selection: bool = False, print_system_info: bool = False, print_system_info_only: bool = False, - skip_code_coverage: bool = True, + skip_code_coverage: bool = False, envvars: list[str] = None, fips: bool = False, ): @@ -331,10 +331,14 @@ def test( env["PRINT_TEST_SELECTION"] = "1" else: env["PRINT_TEST_SELECTION"] = "0" - if skip_code_coverage: - env["SKIP_CODE_COVERAGE"] = "1" - else: - env["SKIP_CODE_COVERAGE"] = "0" + + # skip running code coverage for now + ## if skip_code_coverage: + ## env["SKIP_CODE_COVERAGE"] = "1" + ## else: + ## env["SKIP_CODE_COVERAGE"] = "0" + env["SKIP_CODE_COVERAGE"] = "1" + if print_system_info: env["PRINT_SYSTEM_INFO"] = "1" else: