diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |