fix(tests): correct coverage command for pytest

This commit is contained in:
Anand Balakrishnan 2023-10-14 23:16:32 -07:00
parent eea3065b4e
commit ecef2b266d
No known key found for this signature in database

View file

@ -183,16 +183,15 @@ def coverage(session: nox.Session):
... ...
try: try:
with session.chdir(CURRENT_DIR / "pyargus"): session.run(
session.run( "coverage",
"coverage", "run",
"run", "--source",
"--source", "pyargus/argus,pyargus/src",
"argus,src", "-m",
"-m", "pytest",
"pytest", silent=True,
silent=True, )
)
except Exception: except Exception:
... ...