Skip to content

Commit e48bf02

Browse files
committed
ch08: enable code coverage in tests session
1 parent dda58a9 commit e48bf02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter08-automation-with-nox/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ def build(session):
2727
def tests(session):
2828
"""Run the test suite."""
2929
session.install(".[tests]")
30-
session.run("pytest", *session.posargs)
30+
session.run("coverage", "run", "-m", "pytest", *session.posargs)

0 commit comments

Comments
 (0)