summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 2eedfc5..5b2ef35 100644
--- a/tox.ini
+++ b/tox.ini
@@ -126,3 +126,12 @@ commands =
{envpython} -m coverage run --rcfile={toxinidir}/.coveragerc -m twisted.trial jsonschema
{envpython} -m coverage xml -o {envtmpdir}/coverage.xml
codecov --required --disable gcov --file {envtmpdir}/coverage.xml
+
+[testenv:check-package-license-file]
+recreate = True
+deps =
+ pip-licenses
+commands =
+ pip install {toxinidir}
+ pip-licenses --from=mixed --with-license-file --format=json --output-file={toxinidir}/license_report.json
+ {envpython} {toxinidir}/test_license.py