[skeleton] Add a check-manifest tox environment
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 17 Apr 2019 15:06:57 +0200
changeset 12594 cd9c9573fbd5
parent 12593 c30f8dc81f22
child 12595 ad0299868244
[skeleton] Add a check-manifest tox environment
cubicweb/skeleton/tox.ini.tmpl
--- a/cubicweb/skeleton/tox.ini.tmpl	Fri May 10 16:04:37 2019 +0200
+++ b/cubicweb/skeleton/tox.ini.tmpl	Wed Apr 17 15:06:57 2019 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py3,flake8
+envlist = py27,py3,flake8,check-manifest
 
 [testenv]
 deps =
@@ -14,5 +14,12 @@
   flake8
 commands = flake8
 
+[testenv:check-manifest]
+skip_install = true
+deps =
+  check-manifest
+commands =
+  {envpython} -m check_manifest {toxinidir}
+
 [flake8]
 exclude = cubicweb_%(cubename)s/migration/*,test/data/*,.tox/*