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

feat(build-and-test-differential): modify clang-tidy to run only on specified packages #9016

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

yhisaki
Copy link
Contributor

@yhisaki yhisaki commented Oct 3, 2024

Description

Currently, clang-tidy checks are being executed but are not required and are being ignored. However, clang-tidy outputs important warnings that should not be disregarded.

This PR aims to gradually make clang-tidy checks required on a package-by-package basis. With this PR, the following process related to clang-tidy will be executed on GitHub Actions:

  1. Get modified packages: Retrieve the packages that have been modified in the PR.
  2. Get target packages: Obtain the intersection of packages listed in clang-tidy-required-package.yaml and those retrieved in step 1.
  3. Run ament_clang_tidy on the packages obtained in step 2.

By progressively adding clang-tidy-compliant packages to clang-tidy-required-package.yaml , we can achieve gradual improvement in code quality.

This PR is related to this PR.

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Oct 3, 2024
Copy link

github-actions bot commented Oct 3, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@yhisaki yhisaki marked this pull request as ready for review October 3, 2024 07:24
Signed-off-by: Y.Hisaki <[email protected]>
@github-actions github-actions bot added the component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) label Oct 7, 2024
@yhisaki yhisaki added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 7, 2024
Copy link

codecov bot commented Oct 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.67%. Comparing base (d4d40cd) to head (4e1343e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9016      +/-   ##
==========================================
- Coverage   26.68%   26.67%   -0.01%     
==========================================
  Files        1296     1297       +1     
  Lines       95679    95704      +25     
  Branches    39078    39079       +1     
==========================================
  Hits        25530    25530              
- Misses      67494    67519      +25     
  Partials     2655     2655              
Flag Coverage Δ *Carryforward flag
differential 4.57% <ø> (?)
total 26.68% <ø> (ø) Carriedforward from 53cde46

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:ci Continuous Integration (CI) processes and testing. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant