Skip to content

Commit

Permalink
run coverage via pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
joelb123 committed Jan 8, 2024
1 parent b4aa30e commit c83062f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def coverage(session: nox.Session) -> None:
"-G", "coverage", external=True)

if not session.posargs and any(Path().glob(".coverage.*")):
session.run("coverage", "combine")
session.run("coverage", *args)
session.run("pdm", "run", "coverage", "combine")
session.run("pdm", "run", "coverage", *args)


@nox.session(python=python_versions)
Expand Down

0 comments on commit c83062f

Please sign in to comment.