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