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

CI: Add Clang tidy #25

Merged
merged 1 commit into from
Apr 23, 2024
Merged

CI: Add Clang tidy #25

merged 1 commit into from
Apr 23, 2024

Conversation

peter-marcisovsky
Copy link
Collaborator

@peter-marcisovsky peter-marcisovsky commented Mar 6, 2024

Adding Clang tidy related files.

We wanted to reuse Clang tidy CI job from idf-extra-components, where Clang tidy job was run from its main test_app.
Since we have split the main test_app into into several test apps in this respository an extensive Clang tidy job rework would be needed to run Clang tidy in all the test_apps.

We decided to create a folder clang_tidy, from where Clang tidy is run. Doing so, nearly no modification is needed to be done in the Clang tidy CI job from idf-extra-components

.github/filter_sarif.py - copy from idf-extra-components (no modification)
.github/workflows/clang-tidy.yml - copy from idf-extra-components (line 41 added, line 38 modified folder name)

clang_tidy folder name and content of clang_tidy/README.md is opened for discussion.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@peter-marcisovsky peter-marcisovsky force-pushed the refactor/add_github_workflows branch from 2f048e8 to e5d9a12 Compare March 6, 2024 17:10
@peter-marcisovsky peter-marcisovsky force-pushed the refactor/add_clang_tidy branch from 854308c to 264d9f2 Compare March 6, 2024 17:59
@peter-marcisovsky peter-marcisovsky self-assigned this Mar 7, 2024
@peter-marcisovsky peter-marcisovsky force-pushed the refactor/add_clang_tidy branch from c78fece to c9fc3df Compare March 25, 2024 13:54
@peter-marcisovsky peter-marcisovsky changed the base branch from refactor/add_github_workflows to master March 25, 2024 13:54
@peter-marcisovsky peter-marcisovsky force-pushed the refactor/add_clang_tidy branch 4 times, most recently from 402c681 to e6206c0 Compare March 26, 2024 14:21
@peter-marcisovsky peter-marcisovsky changed the title Draft: add clang tidy CI: Add Clang tidy Mar 26, 2024
@peter-marcisovsky peter-marcisovsky marked this pull request as ready for review March 26, 2024 14:55
Copy link
Collaborator

@tore-espressif tore-espressif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tore-espressif
Copy link
Collaborator

@peter-marcisovsky Hit the merge button when ready!

@tore-espressif tore-espressif force-pushed the refactor/add_clang_tidy branch from e6206c0 to 148710a Compare April 23, 2024 06:47
@peter-marcisovsky peter-marcisovsky force-pushed the refactor/add_clang_tidy branch from 148710a to cb327f5 Compare April 23, 2024 11:57
@peter-marcisovsky peter-marcisovsky merged commit 39b78e0 into master Apr 23, 2024
15 checks passed
@peter-marcisovsky peter-marcisovsky deleted the refactor/add_clang_tidy branch December 20, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants