[tox] Add a dummy test-results.xml file in check-manifest and flake8 environments
This is to work around Jenkins Junit plugin that does not apparently
account for the absence of this file (though it accepts it to be empty).
--- a/.hgignore Fri Sep 23 09:50:16 2016 +0200
+++ b/.hgignore Fri Sep 23 09:51:10 2016 +0200
@@ -22,3 +22,4 @@
^doc/book/en/devweb/js_api/
^doc/_build
^doc/js_api/
+test-results.xml
--- a/tox.ini Fri Sep 23 09:50:16 2016 +0200
+++ b/tox.ini Fri Sep 23 09:51:10 2016 +0200
@@ -45,7 +45,10 @@
skip_install = true
deps =
flake8 >= 3
-commands = flake8 {posargs:{toxinidir}}
+commands =
+ flake8 {toxinidir}
+# So that Jenkins JUnit plugin does not complain about missing XML results.
+ touch test-results.xml
[testenv:doc]
changedir = doc
@@ -63,6 +66,8 @@
# ignore symlinks that are not recognized by check-manifest, see
# https://github.com/mgedmin/check-manifest/issues/69
--ignore cubicweb/devtools/test/data/cubes/i18ntestcube,cubicweb/test/data/legacy_cubes*
+# So that Jenkins JUnit plugin does not complain about missing XML results.
+ touch test-results.xml
[pytest]
python_files = *test_*.py