ci: colorize tox output
Metadata
Current evaluation
Merged PR #442 as commit db8981c, overriding TERM to colorize tox output in GitHub CI; the change was also upstreamed through canonical/starbase#145.
Resolution: closed resolved
Reason: PR #442 was approved and merged into main as commit db8981c, enabling colored tox logs in GitHub CI. The maintainer confirmed the equivalent change was already merged upstream in canonical/starbase#145.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Colorize the output of tox in Github CI.
Tox does not colorize its output in Github because of the envvar `TERM` is set to `dumb`. However, github handles colorized output quite nicely.
[Before](https://github.com/canonical/craft-providers/actions/runs/6672145538/job/18135507099#step:6:1)
[After](https://github.com/canonical/craft-providers/actions/runs/6733840789/job/18303418705?pr=442#step:6:1)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #442 as commit db8981c, overriding TERM to colorize tox output in GitHub CI; the change was also upstreamed through canonical/starbase#145. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR craft-providers#442 (commit db8981c,2023-11-14) overrides TERM in GitHub Actions so tox output is colorized. Maintainer confirmed it was also upstreamed to canonical/starbase#145. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR #442 to colorize tox output in GitHub CI by overriding the TERM environment variable. The change was also upstreamed to canonical/starbase#145. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/starbase#145
(confidence 99%)
The tox colorization change from PR #442 was upstreamed to Starbase.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #145 ci: colorize tox | starbase | merged | Merged in canonical/starbase#145 as eae2528, overriding TERM so tox output renders in color in GitHub CI. | |
| #4435 ci: colorize tox and collapse sections | snapcraft | merged | Merged PR #4435 (commit 77ac1119b) added tox-gh to collapse CI log sections and colorize tox output, replacing draft PR #4422. Approved by 2 reviewers. |