Skip to content

Commit

Permalink
nox: Also run doctests using xdoctest
Browse files Browse the repository at this point in the history
  • Loading branch information
aperezdc committed Apr 25, 2022
1 parent b6dd2d6 commit 265494a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions noxfile.py
Expand Up @@ -49,8 +49,9 @@ def lint(session):
def test(session):
"""Run unit tests, produce coverage data."""
session.notify("report")
session.install("coverage[toml]", "pytest", ".")
session.run("coverage", "run", "-m", "pytest", "-vv", *session.posargs)
session.install("coverage[toml]", "pytest", "xdoctest", "pygments", ".")
session.run("coverage", "run", "-m", "pytest", "--xdoctest", "-vv",
*session.posargs)


@nox.session(python=py_default)
Expand Down

0 comments on commit 265494a

Please sign in to comment.