diff options
Diffstat (limited to 'noxfile.py')
-rw-r--r-- | noxfile.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noxfile.py b/noxfile.py new file mode 100644 index 0000000..31684fd --- /dev/null +++ b/noxfile.py @@ -0,0 +1,9 @@ +import nox + + +# Thanks https://cjolowicz.github.io/posts/hypermodern-python-02-testing/ + +@nox.session(python=["3.7", "3.8"]) +def tests(session): + session.run("poetry", "install", external=True) + session.run("pytest") |