diff options
author | MR Lemon <matt@matthewlemon> | 2020-05-16 21:17:25 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-05-16 21:17:32 +0100 |
commit | a344ca599d4e972bfc818d2bff492d60540ba445 (patch) | |
tree | a0155c1fbcc196c16e1b7b6546b937622e6a3db5 /noxfile.py | |
parent | c7f776e9c7009917ab99881b57f05b5aa910b30c (diff) |
prep for bump to 1.0.4 - nox tests, actions, etc
Diffstat (limited to '')
-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") |