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

Run cpplint/cppcheck on Focal CI #880

Merged
merged 7 commits into from
Mar 15, 2022
Merged

Run cpplint/cppcheck on Focal CI #880

merged 7 commits into from
Mar 15, 2022

Conversation

scpeters
Copy link
Member

🎉 New feature

This is a partial backport of #878 to sdf12

Summary

In #878, the GitHub Actions CI was stopped from testing on Ubuntu Bionic on the main branch. As part of that change, the cppcheck and cpplint checks were moved to Ubuntu Focal CI. I noticed that there were some pre-existing errors in the usd component, which I believe are not checked on Ubuntu Bionic since the usd component is not tested on that workflow. In order to catch these errors, I've backported this portion of #878 and fixed any other listing errors that were reported.

Test it

Run make codecheck on Ubuntu 20.04 or run the GitHub actions workflow on Ubuntu Focal

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

chapulina and others added 4 commits March 14, 2022 01:41
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters requested a review from azeey as a code owner March 15, 2022 05:38
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Mar 15, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #880 (038107a) into sdf12 (b7447df) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##            sdf12     #880   +/-   ##
=======================================
  Coverage   88.17%   88.17%           
=======================================
  Files          96       96           
  Lines       14547    14547           
=======================================
  Hits        12827    12827           
  Misses       1720     1720           
Impacted Files Coverage Δ
usd/src/UsdTestUtils.hh 99.00% <ø> (ø)
usd/src/usd_parser/USDMaterial.cc 62.91% <ø> (ø)
usd/src/usd_parser/USDStage.cc 97.14% <ø> (ø)
usd/src/usd_parser/USDData.cc 63.55% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b7447df...038107a. Read the comment docs.

@scpeters scpeters requested a review from ahcorde March 15, 2022 16:53
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM with happy CI

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters enabled auto-merge (squash) March 15, 2022 20:03
@scpeters scpeters merged commit f453a5f into sdf12 Mar 15, 2022
@scpeters scpeters deleted the scpeters/focal_codecheck branch March 15, 2022 20:15
@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants