From 9c709bcbc4153c2325773423bf6099134fa6c058 Mon Sep 17 00:00:00 2001 From: "Fabian P. Schmidt" Date: Wed, 6 Nov 2019 13:25:35 +0100 Subject: [PATCH] Added tox.ini --- tox.ini | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..beeff2d --- /dev/null +++ b/tox.ini @@ -0,0 +1,24 @@ +# tox (https://tox.readthedocs.io/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +skipsdist = True +envlist = + flake8 + py37 + +[testenv:flake8] +deps = + flake8 +skip_install = True +commands = flake8 \ + auto_scheduler + +[testenv] +deps = + pytest + -rrequirements.txt +commands = + pytest