Skip to content

Commit

Permalink
Use pyproject.toml for coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Dec 15, 2023
1 parent e7b4772 commit 8a891d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test(session: nox.Session) -> None:

if "CI" in os.environ:
args.append(f"--cov-report=xml:{ROOT.absolute()!s}/coverage.xml")
args.append(f"--cov-config={ROOT.absolute()!s}/setup.cfg")
args.append(f"--cov-config={ROOT.absolute()!s}/pyproject.toml")
session.run("pytest", *args)

if "CI" not in os.environ:
Expand Down

0 comments on commit 8a891d0

Please sign in to comment.