blob: cf6d78556aee6a119ac0c300c9a6bcf2d3e3c5fb (
plain) (
tree)
|
|
import nox
# Thanks https://cjolowicz.github.io/posts/hypermodern-python-02-testing/
@nox.session(python=["3.7", "3.8"])
def tests(session):
session.run("pip", "install", "-r", "requirements.txt", external=True)
session.run("pip", "install", "-r", "requirements_dev.txt", external=True)
session.run("pytest -q")
|