summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/tox.ini')
-rw-r--r--bitbake/lib/toaster/tox.ini20
1 files changed, 20 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tox.ini b/bitbake/lib/toaster/tox.ini
new file mode 100644
index 0000000000..8c0fe17181
--- /dev/null
+++ b/bitbake/lib/toaster/tox.ini
@@ -0,0 +1,20 @@
1[tox]
2envlist = py38, py39, py310
3skipsdist = True
4toxworkdir = {env:TOX_WORKDIR:.tox}
5passenv = *
6
7[testenv]
8setenv =
9 DJANGO_SETTINGS_MODULE=toastermain.settings_test
10 TOASTER_BUILDSERVER=1
11 BUILDDIR = {env:BUILDDIR}
12 EVENTREPLAY_DIR = {env:EVENTREPLAY_DIR:BUILDDIR}
13commands =
14 python3 {toxinidir}/manage.py test tests.db tests.commands tests.builds tests.browser tests.functional tests.views
15deps =
16 -r {toxinidir}/../../toaster-requirements.txt
17 -r {toxinidir}/tests/toaster-tests-requirements.txt
18
19[testenv:chrome]
20commands={[testenv]commands} --splinter-webdriver=chrome \ No newline at end of file