JacobDomagala / StaticAnalysis

GitHub action performs static analysis on C++/Python code, flags issues, and posts comments directly on PRs.
MIT License
31 stars 10 forks source link

Checking multiple source files fails #33

Closed skrobinson closed 2 years ago

skrobinson commented 2 years ago

I think there is an issue in entrypoint.sh with files_to_check, affecting debug_print and eval clang-tidy-12....

The problem shows up when trying to run clang-tidy over mutliple files and seems to be related to how get_files_to_check.py output is split when setting files_to_check. Everything works as expected for a single source file.

I have created a minimal failing case. Let me know if I can add any more information.

JacobDomagala commented 2 years ago

Thanks for catching that! I haven't been using this Action lately after the recent changes. I should probably create some testing suite for catching this type of bugs in future.