Skip to content

Commit

Permalink
MNT: Avoid running the cover session when running the speedup mark. […
Browse files Browse the repository at this point in the history
…skip ci]
  • Loading branch information
Taher Chegini committed May 27, 2024
1 parent 812aa9b commit 312208b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,14 @@ def tests(session: nox.Session) -> None:
speedup_dep = False

install_deps(session, ",".join(["test", *extras]))
session.run("pytest", "--doctest-modules", *session.posargs)
session.run(
"pytest",
"--doctest-modules",
f"--cov={package.replace('-', '_')}",
"--cov-report",
"xml",
*session.posargs,
)
session.notify("cover")
if speedup_dep:
session.notify("speedup")
Expand Down

0 comments on commit 312208b

Please sign in to comment.