Skip to content

Commit

Permalink
tests: updated nox configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelm committed Feb 12, 2022
1 parent 4b76a8b commit 21cbb24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@

@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"])
def tests(session):
session.install("poetry")
session.run("poetry", "install", external=True)
session.run("pytest")


@nox.session(python="3.8")
@nox.session(python="3.10")
def safety(session):
session.install("poetry")
with tempfile.NamedTemporaryFile() as requirements:
session.run(
"poetry",
Expand Down

0 comments on commit 21cbb24

Please sign in to comment.