Skip to content
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

[SFW-84] request: scan C files in with Sonar #581

Open
1 task done
favna opened this issue Aug 17, 2024 · 0 comments
Open
1 task done

[SFW-84] request: scan C files in with Sonar #581

favna opened this issue Aug 17, 2024 · 0 comments
Labels

Comments

@favna
Copy link
Member

favna commented Aug 17, 2024

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

In PR #580 we introduced sonar scanning to this project. However, for now we have disabled scanning of the C files because it requires additional setup as described on https://docs.sonarsource.com/sonarcloud/advanced-setup/languages/c-family/overview/. This request is an open ticket to the community for anyone with more advanced C knowledge to set up our pipelines so Sonar can scan the C code.

Desired solution

Updates to our GitHub action workflows for having Sonar scan C code. After building the C code unit tests should also be run with yarn test so a coverage report can be analyzed.

Alternatives considered

Rewriting the C code to Rust and using a tool such as https://gitlab.com/woshilapin/cargo-sonar to convert the output of Rust tooling to Sonar compatible tooling.

Additional context

No response

SFW-84

@favna favna added the feature label Aug 17, 2024
@favna favna changed the title request: scan C files in with Sonar [SFW-84] request: scan C files in with Sonar Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant