diff options
Diffstat (limited to 'bitbake/lib/toaster/tox.ini')
-rw-r--r-- | bitbake/lib/toaster/tox.ini | 20 |
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] | ||
2 | envlist = py38, py39, py310 | ||
3 | skipsdist = True | ||
4 | toxworkdir = {env:TOX_WORKDIR:.tox} | ||
5 | passenv = * | ||
6 | |||
7 | [testenv] | ||
8 | setenv = | ||
9 | DJANGO_SETTINGS_MODULE=toastermain.settings_test | ||
10 | TOASTER_BUILDSERVER=1 | ||
11 | BUILDDIR = {env:BUILDDIR} | ||
12 | EVENTREPLAY_DIR = {env:EVENTREPLAY_DIR:BUILDDIR} | ||
13 | commands = | ||
14 | python3 {toxinidir}/manage.py test tests.db tests.commands tests.builds tests.browser tests.functional tests.views | ||
15 | deps = | ||
16 | -r {toxinidir}/../../toaster-requirements.txt | ||
17 | -r {toxinidir}/tests/toaster-tests-requirements.txt | ||
18 | |||
19 | [testenv:chrome] | ||
20 | commands={[testenv]commands} --splinter-webdriver=chrome \ No newline at end of file | ||