This is an old revision of the document!
Generate junit reports in PHPUnit and upload it as Artifact to Gitlab reports.
phpunit: image: php:7.4 # A PHP Image with xDebug enabled stage: test # Upload Artifact so Gitlab can display Test in Job -> Tests tab artifacts: when: always paths: - phpunit-report.xml reports: junit: phpunit-report.xml script: - ./vendor/bin/phpunit --coverage-text --log-junit phpunit-report.xml