Skip to content

Commit

Permalink
Remove coverage session as it's already part of the pytest call
Browse files Browse the repository at this point in the history
  • Loading branch information
Spayralbe committed Apr 4, 2024
1 parent 1f729c0 commit b21ffcf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@
def tests(session: nox.Session):
"""Run test suite."""
session.run("poetry", "install", external=True)
session.run("pytest", "--cov=src")
session.notify("coverage")


@nox.session
def coverage(session: nox.Session):
"""Generate pytest code coverage report."""
session.run("coverage", "report", "--show-missing")
session.run("pytest", "--cov-report", "term-missing", "--cov=src")


@nox.session(reuse_venv=True, name="format")
Expand Down

0 comments on commit b21ffcf

Please sign in to comment.