Skip to content

Commit

Permalink
DEVOPS: Improve Coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
HelioGuilherme66 committed Nov 6, 2023
1 parent 368123a commit 5fa2ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ def test_ci(ctx, test_filter=''):
try:
import subprocess

a = subprocess.Popen(["coverage", "run", "-a", "-m", "pytest", "--cov-config=.coveragerc", "-k test_", "-v", "utest/application/test_app_main.py"])
a = subprocess.Popen(["coverage", "run", "-a", "--data-file=.coverage.1", "-m", "pytest", "--cov-config=.coveragerc", "-k test_", "-v", "utest/application/test_app_main.py"])
a.communicate(b'')
b = subprocess.Popen(["coverage", "run", "-a", "-m", "pytest", "--ignore=utest/application/test_app_main.py", "--cov-config=.coveragerc", "-k test_", "-v", TEST_DIR])
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])
b.communicate(b'')
c = subprocess.Popen(["coverage", "combine"])
c.communicate(b'')
Expand Down

0 comments on commit 5fa2ec0

Please sign in to comment.