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.ini24
1 files changed, 24 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tox.ini b/bitbake/lib/toaster/tox.ini
new file mode 100644
index 0000000000..1516a527ae
--- /dev/null
+++ b/bitbake/lib/toaster/tox.ini
@@ -0,0 +1,24 @@
1[tox]
2envlist = py38, py39, py310, py311, py312
3skipsdist = True
4toxworkdir = {env:TOX_WORKDIR:.tox}
5passenv = *
6
7[testenv]
8passenv =
9 SSTATE_DIR
10 DL_DIR
11 TOASTER_DJANGO_TMPDIR
12setenv =
13 DJANGO_SETTINGS_MODULE=toastermain.settings_test
14 TOASTER_BUILDSERVER=1
15 BUILDDIR = {env:BUILDDIR}
16 EVENTREPLAY_DIR = {env:EVENTREPLAY_DIR:BUILDDIR}
17commands =
18 python3 {toxinidir}/manage.py test tests.db tests.commands tests.builds tests.browser tests.functional tests.views
19deps =
20 -r {toxinidir}/../../toaster-requirements.txt
21 -r {toxinidir}/tests/toaster-tests-requirements.txt
22
23[testenv:chrome]
24commands={[testenv]commands} --splinter-webdriver=chrome \ No newline at end of file