Skip to content

Commit

Permalink
Tweak how tests are run with nox
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Sep 2, 2023
1 parent cdae236 commit ee2ab54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ def lint(session):
def test(session):
session.install("-e", ".", "-r", "tests/requirements.txt")

args = session.posargs or ["-n", "auto", "--cov", PACKAGE_NAME]
args = session.posargs or [
"-n=auto",
"--cov=src/",
"--cov-report=term-missing",
"--verbose",
]
session.run("pytest", *args)


Expand Down

0 comments on commit ee2ab54

Please sign in to comment.