-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
idea: colorize output #191
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
This plugin should automatically colorize output when the environment variable
GITHUB_ACTIONS
is set.Details
Tox does not colorize its output in Github's runners because of the environment variable
TERM
is set todumb
. However, github handles colorized output quite nicely.The alternative is to use
tox --colored yes
on every call (for example).Here's the difference in output:
![Screenshot_20231102_093600](https://private-user-images.githubusercontent.com/60674096/280025346-e11c8317-06b9-4739-a17a-14abec18d894.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3ODA4MTQsIm5iZiI6MTcxODc4MDUxNCwicGF0aCI6Ii82MDY3NDA5Ni8yODAwMjUzNDYtZTExYzgzMTctMDZiOS00NzM5LWExN2EtMTRhYmVjMThkODk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE5VDA3MDE1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4ZmVmZDNjZmIyYmMyNjBlZTdjMTA1ZTdkN2MyMjlmMmY3YjEzMzRjNTk1NTI1ZjAzZDFjZjY1YTQ2NDVhMDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._bUbIF8-y3JrN3t43C8nUYqwo7lsY4ViPynywVhgSgw)
![Screenshot_20231102_093525](https://private-user-images.githubusercontent.com/60674096/280025365-0ba897a9-a2bc-4529-90e6-d026c5a15a7f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3ODA4MTQsIm5iZiI6MTcxODc4MDUxNCwicGF0aCI6Ii82MDY3NDA5Ni8yODAwMjUzNjUtMGJhODk3YTktYTJiYy00NTI5LTkwZTYtZDAyNmM1YTE1YTdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE5VDA3MDE1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyN2E4M2VlMDg2Y2Q0MTQzMTlkYzVmNGRmOGQ1NTdhNWIyZDBhYTMwODNhOTI2NjU4YWUzMTQ2NGI5OGYwZWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.oT03lrzmoGUCzzXpjRxIvwlnWdKckng7tCjW0sk6Obc)
The text was updated successfully, but these errors were encountered: