Skip to content

Commit

Permalink
Add a tests session to noxfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed Jul 2, 2024
1 parent 46259e4 commit a254f71
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import nox

nox.options.sessions = ["tests"]
nox.options.default_venv_backend = "uv|virtualenv"


@nox.session
def tests(session):
"""Run tests with pytest."""
session.install(".")
session.run("pytest")

0 comments on commit a254f71

Please sign in to comment.