Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
Add colour to GitHub Actions output#129196
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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!
Uh oh!
There was an error while loading.Please reload this page.
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 |
|
298dda5
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
(cherry picked from commit298dda5)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
GH-129198 is a backport of this pull request to the3.13 branch. |
Sorry,@hugovk, I could not cleanly backport this to
|
(cherry picked from commit298dda5)Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
GH-129199 is a backport of this pull request to the3.12 branch. |
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.