You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before proceeding, please make sure to follow these steps:
[ x] I have checked for similar questions in the project's issue tracker to avoid duplicates.
[ x] I have searched existing issues to see if this question has been asked before.
Your Question
Is there a way to call license check from withing a pytest test-case in a github action?
I run tests as follows: uv run --frozen pytest tests/test_my_api.py
And run licensecheck as follows: licensecheck --ignore-packages package-without-license --ignore-license mpl --only-licenses mit bsd apache python --zero
I would like to call licensecheck from inside a unit test with parameters to skip certain package, ignore mpl licenses and allow only for mit/bsd/apacke and python.
Thanks!
The text was updated successfully, but these errors were encountered:
Before You Begin
Before proceeding, please make sure to follow these steps:
Your Question
Is there a way to call license check from withing a pytest test-case in a github action?
uv run --frozen pytest tests/test_my_api.py
licensecheck --ignore-packages package-without-license --ignore-license mpl --only-licenses mit bsd apache python --zero
I would like to call licensecheck from inside a unit test with parameters to skip certain package, ignore mpl licenses and allow only for mit/bsd/apacke and python.
Thanks!
The text was updated successfully, but these errors were encountered: