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

tests: print whether colors are enabled to help diagnose spurious failure #641

Merged

Conversation

chris-laplante
Copy link
Collaborator

See for example https://github.com/console-rs/indicatif/actions/runs/8844253603.

The only thing I can think off is that colors_enabled is returning false, leading to the unstyled output. If so, this would suggest some kind of race, e.g. in https://github.com/console-rs/console/blob/master/src/utils.rs#L39. But before we go down that rabbit hole let's test the basic theory.

@chris-laplante chris-laplante merged commit 6c4637b into console-rs:main Apr 29, 2024
10 checks passed
@chris-laplante chris-laplante deleted the cpl/test-colors-enabled branch April 29, 2024 14:05
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

2 participants