Is it possible to have job logs in color? How can I do it?

I am using gitlab CI/CD to run some UI tests using maven. Those tests are very verbose and thus, they can be hard to read.

When I am running the tests locally, it’s not an issue since the output of “mvn test” is in color. However, in the gitlab job, the output isn’t in color and the result of the tests are thus much harder to read.

Is there anyway the output of “mvn test” could be in color in my gitlab-ci job?