-
Notifications
You must be signed in to change notification settings - Fork 2.1k
make: run static_tests.sh directly with static-tests
target
#15667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
586f9d6
to
3c3a05d
Compare
Mhhh... |
3c3a05d
to
b079797
Compare
hmmm I noticed the License check runs twice. Is it expected? |
Yes, they use two different diff filters. One for modified and renamed files, one for added and copied files. The first generates only a warning (the author of the change might not have introduced that license), the second generates an error, making the static tests fail. |
then, everything runs as expected :). Tried both in my laptop and Docker |
could you remove the bogus commit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. Please remove the bogus commit and let's wait for the CI
Done. |
b079797
to
9066ab2
Compare
Fixed an unrelated spelling error.... no idea why that file is even checked... |
Contribution description
This cleans up the
make static-tests
target to calldist/tools/ci/static_tests.sh
directly instead of first callingdist/tools/static-tests.sh
which calls./dist/tools/ci/build_and_test.sh
which then callsdist/tools/ci/static_tests.sh
.The only point in doing it that way, is I believe, that ther is an (incomplete) dependency check in
dist/tools/static-tests.sh
. That dependency check I improved and completed and moved it todist/tools/ci/static_tests.sh
and adapted it for the look and feel of that script.Testing procedure
Run
(also done by the
static-tests
GitHub action). If you have any uninstalled dependency for those tests, the script will report that.Issues/PRs references
None