summaryrefslogtreecommitdiffstats
path: root/testing/mozharness/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mozharness/tox.ini')
-rw-r--r--testing/mozharness/tox.ini27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/mozharness/tox.ini b/testing/mozharness/tox.ini
new file mode 100644
index 0000000000..ecdcd7d5d2
--- /dev/null
+++ b/testing/mozharness/tox.ini
@@ -0,0 +1,27 @@
+[tox]
+envlist = py311-hg6.4
+
+[base]
+deps =
+ coverage
+ distro
+ pynose
+ rednose
+ PyYAML==6.0
+ {toxinidir}/../mozbase/mozlog
+ {toxinidir}/../mozbase/mozsystemmonitor
+mozbase = {toxinidir}/../mozbase/
+
+
+[testenv]
+setenv =
+ HGRCPATH = {toxinidir}/test/hgrc
+ PYTHONPATH = $PYTHONPATH:{[base]mozbase}/manifestparser:{[base]mozbase}/mozfile:{[base]mozbase}/mozinfo:{[base]mozbase}/mozprocess
+
+commands =
+ coverage run --source configs,mozharness,scripts --branch {envbindir}/nosetests -v --with-xunit --rednose --force-color {posargs}
+
+[testenv:py311-hg6.4]
+deps =
+ {[base]deps}
+ mercurial==6.4.3