-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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 colour to GitHub Actions output #129196
Conversation
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.
JIT CI changes look good!
Thank you flaky test, it was easy to find you and conclude not relevant here, and restart the job :) https://github.com/python/cpython/actions/runs/12916819582/job/36021859818?pr=129196 |
|
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
(cherry picked from commit 298dda5) Co-authored-by: Hugo van Kemenade <[email protected]>
GH-129198 is a backport of this pull request to the 3.13 branch. |
Sorry, @hugovk, I could not cleanly backport this to
|
(cherry picked from commit 298dda5) Co-authored-by: Hugo van Kemenade <[email protected]>
GH-129199 is a backport of this pull request to the 3.12 branch. |
Co-authored-by: Hugo van Kemenade <[email protected]>
Following the merge of #127223, #127719, #127877, #128498 and #128687, we can now enable colour in the
unittest
andtest.regrtest
output on GitHub Actions usingFORCE_COLOR
.The biggest benefit is it helps us find failures when scrolling the long logs, and usually the reason to open the logs in the first place is to find a failure.
For example, here's a forced failure in another branch:
https://github.com/hugovk/cpython/actions/runs/12915439756/job/36017613160
Accessibility check: it's important not to rely on colour alone to confer information, and the current textual output is not changed, and continues to say pass/skip/fail as now. The colour is an addition.