summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 27988cb..df7ca09 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
-envlist = py38,py37,py36,pep8,black
+envlist = py38,py37,py36,pep8,black,twine-check
[testenv]
passenv = GITLAB_IMAGE GITLAB_TAG
@@ -27,6 +27,14 @@ deps = -r{toxinidir}/requirements.txt
commands =
black {posargs} gitlab tools/functional
+[testenv:twine-check]
+basepython = python3
+deps = -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
+ twine
+commands =
+ twine check dist/*
+
[testenv:venv]
commands = {posargs}