Skip to content

Commit

Permalink
Add nox config
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Jul 11, 2023
1 parent a2a701b commit be691cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ def tests(session: Session) -> None:
)


@session(python=PYTHON_VERSIONS, name="Benchmarks", tags=["tests", "benchmarks"])
def benchmarks(session: Session) -> None:
session.run_always("poetry", "install", external=True)

session.run("pytest", "--codspeed" "tests")


@session(python=["3.11"], name="Django tests", tags=["tests"])
@nox.parametrize("django", ["4.2.0", "4.1.0", "4.0.0", "3.2.0"])
def tests_django(session: Session, django: str) -> None:
Expand Down

0 comments on commit be691cf

Please sign in to comment.