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

apply no_color w/ windows cfg #335

Merged
merged 1 commit into from Jan 23, 2024
Merged

Conversation

bconn98
Copy link
Collaborator

@bconn98 bconn98 commented Dec 20, 2023

Test MR to add windows support to #302

@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2023

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (58b92c8) 61.12% compared to head (66c6e91) 60.81%.

Files Patch % Lines
src/encode/writer/console.rs 39.28% 17 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #335      +/-   ##
==========================================
- Coverage   61.12%   60.81%   -0.32%     
==========================================
  Files          23       23              
  Lines        1407     1429      +22     
==========================================
+ Hits          860      869       +9     
- Misses        547      560      +13     

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

test/color-test/src/main.rs Outdated Show resolved Hide resolved
test/log-file-test/Cargo.toml Outdated Show resolved Hide resolved
test/color-test/Cargo.toml Outdated Show resolved Hide resolved
@bconn98 bconn98 force-pushed the test-windows-no-color branch 4 times, most recently from 621fd51 to 0c2c585 Compare December 22, 2023 02:32
@bconn98
Copy link
Collaborator Author

bconn98 commented Dec 22, 2023

@estk It seems to me that the runners have different color controls already enabled that conflict with our tests. Locally the test results look good to me. In the CI only CLICOLOR_FORCE works and only for Ubuntu. I think that's acceptable, we will just need to verify those tests locally when there are related changes. @lelongg you should be able to grab my MR for the test updates and windows portion

@lelongg
Copy link

lelongg commented Jan 5, 2024

Is #302 still needed if this one is merged ?

@bconn98
Copy link
Collaborator Author

bconn98 commented Jan 5, 2024 via email

@bconn98
Copy link
Collaborator Author

bconn98 commented Jan 7, 2024

@lelongg FYI I just got my windows machine back up and running and can confirm that the changes made work for windows as well. I'll leave it up to you if you would like me to make this MR against #302 and roll it all up under your MR or just push this one. 😄

@estk estk merged commit 4f09b8f into estk:main Jan 23, 2024
11 checks passed
bconn98 added a commit to bconn98/log4rs that referenced this pull request Jan 24, 2024
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.

None yet

4 participants