diff options
Diffstat (limited to 'lib/toaster/tox.ini')
-rw-r--r-- | lib/toaster/tox.ini | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/toaster/tox.ini b/lib/toaster/tox.ini new file mode 100644 index 000000000..8c0fe1718 --- /dev/null +++ b/lib/toaster/tox.ini @@ -0,0 +1,20 @@ +[tox] +envlist = py38, py39, py310 +skipsdist = True +toxworkdir = {env:TOX_WORKDIR:.tox} +passenv = * + +[testenv] +setenv = + DJANGO_SETTINGS_MODULE=toastermain.settings_test + TOASTER_BUILDSERVER=1 + BUILDDIR = {env:BUILDDIR} + EVENTREPLAY_DIR = {env:EVENTREPLAY_DIR:BUILDDIR} +commands = + python3 {toxinidir}/manage.py test tests.db tests.commands tests.builds tests.browser tests.functional tests.views +deps = + -r {toxinidir}/../../toaster-requirements.txt + -r {toxinidir}/tests/toaster-tests-requirements.txt + +[testenv:chrome] +commands={[testenv]commands} --splinter-webdriver=chrome
\ No newline at end of file |