Also consider packages on CircleCI

pull/57/head
Benjamin Rosemann 4 years ago
parent 72ad03b4df
commit 0f69ec85fa

@ -36,3 +36,4 @@ Public Domain
# Variants of the Python Software Foundation License # Variants of the Python Software Foundation License
Python Software Foundation License Python Software Foundation License
Python Software Foundation License, MIT License

@ -44,6 +44,7 @@ jobs:
- run: # Read allowed licenses from file to ";"-separated string while removing empty lines and comments - run: # Read allowed licenses from file to ";"-separated string while removing empty lines and comments
name: License check name: License check
command: | command: |
pip-licenses --from=mixed --summary
ALLOWED=$(sed -e '/^#.*$/d' -e '/^\s*$/d' .allowed-licenses | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/;/g'); echo $ALLOWED ALLOWED=$(sed -e '/^#.*$/d' -e '/^\s*$/d' .allowed-licenses | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/;/g'); echo $ALLOWED
pip-licenses --from=mixed --allow-only="${ALLOWED}" --summary pip-licenses --from=mixed --allow-only="${ALLOWED}" --summary

Loading…
Cancel
Save