fix(tests): correct coverage command for pytest
This commit is contained in:
parent
eea3065b4e
commit
ecef2b266d
1 changed files with 9 additions and 10 deletions
19
noxfile.py
19
noxfile.py
|
|
@ -183,16 +183,15 @@ def coverage(session: nox.Session):
|
|||
...
|
||||
|
||||
try:
|
||||
with session.chdir(CURRENT_DIR / "pyargus"):
|
||||
session.run(
|
||||
"coverage",
|
||||
"run",
|
||||
"--source",
|
||||
"argus,src",
|
||||
"-m",
|
||||
"pytest",
|
||||
silent=True,
|
||||
)
|
||||
session.run(
|
||||
"coverage",
|
||||
"run",
|
||||
"--source",
|
||||
"pyargus/argus,pyargus/src",
|
||||
"-m",
|
||||
"pytest",
|
||||
silent=True,
|
||||
)
|
||||
except Exception:
|
||||
...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue