[PATCH 3 of 9 postgis] tox: add a check-manifest testenv

Philippe Pepiot philippe.pepiot at logilab.fr
Thu Jun 27 16:56:41 CEST 2019


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1561644765 -7200
#      Thu Jun 27 16:12:45 2019 +0200
# Node ID f11b92664b21739c5f9dd75f0b5a5dec33346a40
# Parent  d4ef5617f2c9368c5b6ce87f9d89d96c5114afd3
# Available At https://hg.logilab.org/review/cubes/postgis
#              hg pull https://hg.logilab.org/review/cubes/postgis -r f11b92664b21
tox: add a check-manifest testenv

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27, py3, flake8
+envlist = py27, py3, flake8, check-manifest
 
 [testenv]
 deps =
@@ -14,6 +14,13 @@ deps =
   flake8
 commands = flake8
 
+[testenv:check-manifest]
+skip_install = true
+deps =
+  check-manifest
+commands =
+  {envpython} -m check_manifest {toxinidir}
+
 [flake8]
 exclude = migration/*,setup.py,.tox/*
 max-line-length = 100



More information about the cubicweb-devel mailing list