--- title: Coloured output with PHPUnit and GitHub Actions excerpt: How to have colours in your PHPUnit output when running with GitHub Actions. date: 2020-08-12 tags: - github-actions - phpunit - testing --- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you're using GitHub Actions to run tests for your PHP projects and want colours in the output, append `--colors=always` to your phpunit command. <a href="https://t.co/0AVwxCP4Bv">pic.twitter.com/0AVwxCP4Bv</a></p>— Oliver Davies (@opdavies) <a href="https://twitter.com/opdavies/status/1260608152225157121?ref_src=twsrc%5Etfw">May 13, 2020</a></blockquote>