PHPUnit not printing result in runner context

Hi @Ilias

I would change your phpunit line to either:

    ...
    - ./$CI_BUILDS_DIR/gabox/phpunit/vendor/bin/phpunit  ... --coverage-text --colors=never --log-junit $CI_PROJECT_DIR/phpunit-report.xml
    artifacts:
        when: always
        reports:
            junit: $CI_PROJECT_DIR/phpunit-report.xml
        expire_in: 2 weeks

or alternatively just:

    ...
    - ./$CI_BUILDS_DIR/gabox/phpunit/vendor/bin/phpunit  ... --coverage-text --colors=never 

The version with the artifact will not print out the result of the unit tests, but when you look at your pipeline in GitLab you will see a tab called Tests with a number next to it, which tells you how many tests were run. This will show you the results of any tests, lints etc. run in the pipeline, that dump output in JUnit format.

You might also want to read the docs on test coverage settings and pipeline badges