File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ jobs:
38
38
- name : Make sure pre-commit hooks pass
39
39
uses : pre-commit/action@v3.0.1
40
40
41
- - name : Minimalist license check
42
- run : |
43
- # Legal check: make sure we don't have or introduce GPL dependencies
44
- if pip-licenses | grep -v 'Artistic License' | grep -v LGPL | grep GNU; then echo 'Please avoid introducing *GPL dependencies'; false; fi
41
+ - name : Automated license checking
42
+ # Make sure we don't have or introduce dependencies with incompatible licenses.
43
+ # Exclusions where auto detection and analysis do not work:
44
+ # - pympi-ling is MIT, but not auto-detected. https://github.com/dopefishh/pympi
45
+ # - text-unidecode is Artistic License or GPL (at our choice): MIT is
46
+ # compatible with the former. https://github.com/kmike/text-unidecode/
47
+ run : licensecheck --zero --ignore-packages pympi-ling text-unidecode
45
48
46
49
- uses : codecov/codecov-action@v4
47
50
with :
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ api = [
73
73
ci = [
74
74
" readalongs[api]" ,
75
75
" coverage" ,
76
- " pip-licenses " ,
76
+ " licensecheck " ,
77
77
]
78
78
79
79
all = [
You can’t perform that action at this time.
0 commit comments