@@ -407,7 +407,7 @@ def test_ci(ctx, test_filter=''):
407407 _ = ctx
408408 _ = test_filter
409409 _remove_bytecode_files ()
410- _set_development_path ()
410+ # _set_development_path()
411411
412412 try :
413413 import subprocess
@@ -416,9 +416,14 @@ def test_ci(ctx, test_filter=''):
416416 g = subprocess .Popen (["git" , "submodule" , "update" ])
417417 g .communicate (b'' )
418418
419- a = subprocess .Popen (["coverage" , "run" , "-a" , "--data-file=.coverage.1" , "-m" , "pytest" , "--cov-config=.coveragerc" , "-k test_" , "-v" , "utest/application/test_app_main.py" ])
419+ # a = subprocess.Popen(["coverage", "run", "-a", "--data-file=.coverage.1", "-m", "pytest", "--cov-config=.coveragerc", "--cov=src", "--cov-report=xml:.coverage-reports/coverage_1.xml", "--cov-report=html:.coverage-reports/htmlcov", "--cov-branch", "--cov-context=test", "-k test_", "-v", "utest/application/test_app_main.py"])
420+ a = subprocess .Popen (["coverage" , "run" , "-a" , "--data-file=.coverage.1" , "-m" , "pytest" , "--html=.coverage-reports/pytest_report1.html" , "--self-contained-html" , "-k test_" , "-v" , "utest/application/test_app_main.py" ])
420421 a .communicate (b'' )
421- b = subprocess .Popen (["coverage" , "run" , "-a" , "--data-file=.coverage.2" , "-m" , "pytest" , "--ignore=utest/application/test_app_main.py" , "--cov-config=.coveragerc" , "-k test_" , "-v" , TEST_DIR ])
422+ # z = subprocess.Popen(["coverage", "run", "-a", "--data-file=.coverage.2", "-m", "pytest", "--cov-config=.coveragerc", "--cov=src", "--cov-report=xml:.coverage-reports/coverage_2.xml", "--cov-report=html:.coverage-reports/htmlcov", "--cov-branch", "--cov-context=test", "--cov-append", "-k test_", "-v", "utest/editor/test_z_kweditor_plugin.py"])
423+ z = subprocess .Popen (["coverage" , "run" , "-a" , "--data-file=.coverage.2" , "-m" , "pytest" , "--html=.coverage-reports/pytest_report2.html" , "--self-contained-html" , "-k test_" , "-v" , "utest/editor/test_z_kweditor_plugin.py" ])
424+ z .communicate (b'' )
425+ # b = subprocess.Popen(["coverage", "run", "-a", "--data-file=.coverage.3", "-m", "pytest", "--ignore=utest/application/test_app_main.py", "--ignore=utest/editor/test_z_kweditor_plugin.py", "--cov-config=.coveragerc", "--cov=src", "--cov-report=xml:.coverage-reports/coverage_3.xml", "--cov-report=html:.coverage-reports/htmlcov", "--cov-branch", "--cov-context=test", "--cov-append", "-k test_", "-v", TEST_DIR])
426+ b = subprocess .Popen (["coverage" , "run" , "-a" , "--data-file=.coverage.3" , "-m" , "pytest" , "--html=.coverage-reports/pytest_report3.html" , "--self-contained-html" , "--ignore=utest/application/test_app_main.py" , "--ignore=utest/editor/test_z_kweditor_plugin.py" , "-k test_" , "-v" , TEST_DIR ])
422427 b .communicate (b'' )
423428 c = subprocess .Popen (["coverage" , "combine" , "--keep" ])
424429 c .communicate (b'' )
0 commit comments