/work/.github/workflows/sonar.sh: line 24: /work/.sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64: not found
Calling “ls -l /work/.sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64” command on the path returns:
-rwxr-xr-x 1 root root 1935176 Jan 6 20:04 /work/.sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64
So I don’t understand why it’s “not found”.
After several hours on this topic, I have no more idea and decided to ask here.
I’m open to alternative solutions too to do the same job.
At the beginning I was also thinking to some code coverage analysis, but not look at this subject yet. I’m open also to some interesting information on this subject.
Thanks so much for your very detailed answer and the code snippet adapted to my case !! You saved me hours !!
Well I don’t know exactly why I was doing a script, probably something I have seen googling…
My analysis is now working, I see I have several code smell and want also to offer my comparison with Codacy, because I have used it before. Sonar is really better with more detailed issues and more issues detected in the code !!!
Do you know how to integrate Coverage ? Else I will create a separated thread if I do not succeed with that.
I haven’t setup coverage at all for the moment, but I have read something about gcov. Your answer is a very nice beginning, I will try to do it locally before using Github Actions.
Again, thanks a lot for your help, it’s greatly appreciated !!