mirror of
https://git.yoctoproject.org/poky
synced 2026-07-15 15:37:03 +00:00
22960747ea
Some of the autobuilder workers have python 3.11 or in the future 3.12. Add these to allow toaster tests to work on those platforms. (Bitbake rev: 04d5edd81f5e924370090d68fd4a254abaacbfe4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
613 B
INI
20 lines
613 B
INI
[tox]
|
|
envlist = py38, py39, py310, py311, py312
|
|
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 |