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/Fix cargo clippy action #942

Merged
merged 5 commits into from
Nov 17, 2023
Merged

Conversation

Luni-4
Copy link
Collaborator

@Luni-4 Luni-4 commented Nov 9, 2023

Pull Request Template

Checklist

  • Confirm that run-checks script has been executed.

Related Issues/PRs

Provide links to relevant issues and dependent PRs.

Changes

This PR fixes the clippy action removing the filtering based on diff that does not always allow to detect clippy warnings

Testing

Describe how these changes have been tested.

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (945014b) 87.50% compared to head (2cb3b73) 87.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #942      +/-   ##
==========================================
- Coverage   87.50%   87.42%   -0.09%     
==========================================
  Files         502      502              
  Lines       51080    50967     -113     
==========================================
- Hits        44697    44557     -140     
- Misses       6383     6410      +27     

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

@Luni-4 Luni-4 force-pushed the remove-clippy branch 3 times, most recently from 92f8601 to 86ea54f Compare November 9, 2023 22:01
@Luni-4 Luni-4 changed the title ci/Run cargo clippy on xtask ci/Fix cargo clippy action Nov 9, 2023
@Luni-4 Luni-4 force-pushed the remove-clippy branch 2 times, most recently from 72c2f9a to a073ebf Compare November 9, 2023 22:34
@Luni-4
Copy link
Collaborator Author

Luni-4 commented Nov 9, 2023

@nathanielsimard

This PR is ready to be reviewd

@antimora
Copy link
Collaborator

I rebased and CI is still failing.

@Luni-4
Copy link
Collaborator Author

Luni-4 commented Nov 13, 2023

@antimora

Yep, there are more clippy warnings to be fixed in the code

@Luni-4
Copy link
Collaborator Author

Luni-4 commented Nov 16, 2023

@antimora Rebased, but there are clippy warnings in tests

@Luni-4
Copy link
Collaborator Author

Luni-4 commented Nov 16, 2023

@antimora

Every clippy warning and error in build, tests, benchmarks, and examples has been fixed. Now we can also detect them both in CI and locally

Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

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

Thanks 🙏

@nathanielsimard nathanielsimard merged commit ec9df53 into tracel-ai:main Nov 17, 2023
8 checks passed
@Luni-4 Luni-4 deleted the remove-clippy branch November 17, 2023 00:40
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.

3 participants