Add colour to CI logs for readability#258
Conversation
| COPY --from=0 /usr/local/include /usr/local/include | ||
| RUN yum install -y zlib-devel | ||
| COPY build.sh /build.sh | ||
| ENV FORCE_COLOR=1 |
There was a problem hiding this comment.
I'm not seeing any colour in https://github.com/python-pillow/docker-images/actions/runs/22060683154/job/63739874284?pr=258
There was a problem hiding this comment.
The manylinux only build wheels, it doesn't run pytest directly.
The make test (line 36 of its Makefile) for this pulls $(TEST_IMAGE), which is pythonpillow/fedora-43-amd64.
After this PR is merged and pushed, pythonpillow/fedora-43-amd64 will have colour enabled, so its next run should have colour.
We could probably omit FORCE_COLOR=1 from the manylinux Dockerfiles, but I put it in for any other commands that can enable colour. Although I didn't check. Maybe the pip calls?
There was a problem hiding this comment.
Oh, yes, you're right, it is there in the pip calls - https://github.com/python-pillow/docker-images/actions/runs/22060683154/job/63739874284?pr=258#step:7:31
No description provided.