summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/test/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/test/tox.ini')
-rw-r--r--testing/web-platform/tests/resources/test/tox.ini13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/test/tox.ini b/testing/web-platform/tests/resources/test/tox.ini
new file mode 100644
index 0000000000..cc07e3b028
--- /dev/null
+++ b/testing/web-platform/tests/resources/test/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+envlist = py36,py37,py38,py39,py310
+skipsdist=True
+
+[testenv]
+passenv=DISPLAY # Necessary for the spawned GeckoDriver process to connect to
+ # the appropriate display.
+
+deps =
+ -r{toxinidir}/../../tools/requirements_pytest.txt
+ -r{toxinidir}/requirements.txt
+
+commands = pytest -vv {posargs}