@@ -407,7 +407,7 @@ def test_ci(ctx, test_filter=''):
407
407
_ = ctx
408
408
_ = test_filter
409
409
_remove_bytecode_files ()
410
- _set_development_path ()
410
+ # _set_development_path()
411
411
412
412
try :
413
413
import subprocess
@@ -416,9 +416,14 @@ def test_ci(ctx, test_filter=''):
416
416
g = subprocess .Popen (["git" , "submodule" , "update" ])
417
417
g .communicate (b'' )
418
418
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" ])
420
421
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 ])
422
427
b .communicate (b'' )
423
428
c = subprocess .Popen (["coverage" , "combine" , "--keep" ])
424
429
c .communicate (b'' )
0 commit comments