-
Notifications
You must be signed in to change notification settings - Fork 469
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/Check dependencies #895
Conversation
aad67c1
to
71fa4d4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #895 +/- ##
==========================================
- Coverage 87.50% 87.41% -0.10%
==========================================
Files 502 502
Lines 51080 50966 -114
==========================================
- Hits 44697 44550 -147
- Misses 6383 6416 +33 ☔ View full report in Codecov by Sentry. |
This PR is ready to be reviewed |
@Luni-4 We should fix the CI dependencies step before merging! |
Feel free to change my PR in order to fix the |
e8e2b47
to
7ede25a
Compare
It is ready to be reviewed |
I have added a files to check licenses but I do not know if I had configured that correctly. Review cargo.deny options carefully and see if they are right the ones I set up |
It seems the dependencies is doing its job and failing the CI. We should review the list of licenses and add to an allowable list. There seems to be some odd licenses that I am not familiar with so it might take some time to review. |
Since I do not have the skills to evaluate the right licenses for this project, I'm leaving this PR to you. Feel free to update it and change the code whatever you want, thanks a lot in advance! |
@nathanielsimard and @antimora After a brief dialogue with @antimora, I was able to set up and fix the dependency checker. Below a list of the accomplished things:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, waiting for @antimora to review as well before merging
curl -L "$UDEPS_LINK/$UDEPS_VERSION/cargo-udeps-$UDEPS_VERSION-x86_64-unknown-linux-gnu.tar.gz" | | ||
tar xz -C $HOME/.cargo/bin --strip-components 2 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason not to use the following: cargo install cargo-udeps --locked
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To install faster the binary, reducing the CI time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Lets a give a try!
Thanks, @Luni-4 for your work with this CI enhancements. I feel we have a world class tooling now =)
Pull Request Template
Checklist
run-checks
script has been executed.Related Issues/PRs
Provide links to relevant issues and dependent PRs.
Changes
This PR adds dependencies checks to
ci
in order to detect:Testing
Describe how these changes have been tested.