diff options
author | johnthagen <johnthagen@gmail.com> | 2020-01-25 14:20:06 -0500 |
---|---|---|
committer | johnthagen <johnthagen@gmail.com> | 2020-01-25 14:20:06 -0500 |
commit | 77d0887fba18b3e113eb89969bb8ce67ad7728ce (patch) | |
tree | f6e2656699796e80b7c259d00bce03b08aba2549 /tox.ini | |
parent | 3324bb637e8c7ef4358708c2891f755d7a962294 (diff) | |
download | jsonschema-77d0887fba18b3e113eb89969bb8ce67ad7728ce.tar.gz |
Add tox/CI test for license file
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 |