2022-01-18 18:21:02 +00:00
|
|
|
import nox # type: ignore
|
2021-12-15 13:58:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
@nox.session(python=["3.7", "3.8", "3.9"])
|
|
|
|
def tests(session):
|
|
|
|
args = session.posargs or ["--cov"]
|
|
|
|
session.run("poetry", "install", external=True)
|
|
|
|
session.run("pytest", *args)
|
|
|
|
pass
|