-
Notifications
You must be signed in to change notification settings - Fork 105
Add Cleanness CI #2 #619
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
Add Cleanness CI #2 #619
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #619 +/- ##
=======================================
Coverage 54.69% 54.69%
=======================================
Files 59 59
Lines 13662 13662
Branches 1698 1698
=======================================
Hits 7473 7473
Misses 5740 5740
Partials 449 449 ☔ View full report in Codecov by Sentry. |
I just realized that if we have
then if Update: Here's the trick
stolen from: https://stackoverflow.com/questions/13437104/compare-content-of-two-variables-in-bash like a proper script kiddie. Update: I suppose you probably want something like
or so |
Phoenix CI won't run because the computer is down... but that doesn't matter for this PR. |
So.... I have tried to diff these for the past couple hours. I have been trying a couple different variations on my own branch and none of them have worked for how I think we want them to ie |
This seems rather trivial, though admittedly, I haven't tried it myself. Can you give an example of what you've tried? It seems like Also: |
I've been using some variations of grep, diff, and even some with awk
grep -vxFf mUnused.txt prUnused.txt -B 4
|
You can use |
@okBrian what is the status of this? |
Assuming I am reading the diff's correctly the warnings showing up are the exact same but they are on different line numbers??? Can you take a look at the most recent commit as I am just showing the diff for both and I am just confused why both are showing up even when they look the exact same. |
Probably because you are not synced with master. |
It works!!! |
Is this ready to merge? |
Yes this is ready to merge. |
Description
Add Cleanness CI 2nd PR
Fails if pr # warning > master # warnings
Fixes #467
Type of change
Scope
How Has This Been Tested?
[x] Make a commit that includes a new unused variable and check if the CI fails
[x] Make sure once the commit is reverted that it shows -1 and that doesn't fail the CI
Test Configuration:
Github Actions on Ubuntu and GNU compilers
Checklist
./mfc.sh format
before committing my code