Skip to content

Setting FORCE_COLOR=true does not seem to work (in GH actions at least) #10303

@scop

Description

@scop

Setting FORCE_COLOR=true does not seem to give colorized output in GitHub actions.

Reproducer pipeline job at https://github.com/scop/pytekukko/actions/runs/12620953794/job/35167229162 (the "Install Python dev dependencies" step)

  • Shows that FORCE_COLOR is set to true in the env, and there's no NO_COLOR or CLICOLOR_FORCE env vars present
  • Shows that there's no --color arg passed to uv

...but the uv output has no color. I tried explicit export of FORCE_COLOR too, to no avail.

Another job at https://github.com/scop/pytekukko/actions/runs/12620965743/job/35167258389 that passes --color always does result in color output (again, see the "Install Python dev dependencies" step).

This workflow uses the current astral-sh/setup-uv action, so uv is current, too.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcliRelated to the command line interfacegood first issueGood for newcomershelp wantedContribution especially encouraged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions