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
Test Apache license on Windows #2470
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2470 +/- ##
==========================================
+ Coverage 90.04% 90.15% +0.10%
==========================================
Files 212 212
Lines 34174 34124 -50
==========================================
- Hits 30772 30764 -8
+ Misses 3402 3360 -42
Continue to review full report at Codecov.
|
d8e78e8
to
0f8520d
Compare
@k-rus Funny that I've tried exact same approach, did not worked for some reason, probably missed something. Hope it will now. The changed lines might be to the reason that Windows text files are usually use different end of line chars ( |
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.
There's a lot of lines that seem unrelated to the changes in this PR, which makes it harder to review. I actually only identified three lines that seem relevant. Would be good to keep formatting as a separate change.
@erimatnor See my not in #2470 (comment) |
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, but would be good to just have changed lines. There is no difference between some of the changed lines, so I suspect that it is a change in line ending as a result of the editor being helpful.
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.
Apparently license tests passed, so this change makes sense. Yet there are some odd issues with other tests, likely not related to this PR
@pmwkaa @erimatnor @mkindahl I made a comment in the OP of the PR regarding unrelated lines. I guess nobody reads it:
One explanation can be that git silently fixes the line endings. I have not set the configuration, so it is default behaviour. |
@pmwkaa You are right the failures are not related to the PR, so I created an issue for the deterministic failures.
You might not put in exactly the same place. It needs to be before the PG service is started or restarted. |
Fixes the regression test of Apache license on Windows.
0f8520d
to
b8e60b5
Compare
Fixes the regression test of Apache license on Windows.
PR note
GH is confused by some reason and shows difference on number of unchanged lines.
#2435 removed the Apache license test on Windows. This PR fixes it back.