From 2510355920533bea51e2fce45991e29faf25df13 Mon Sep 17 00:00:00 2001 From: Thomas Flori <t.flori@sportradar.com> Date: Fri, 22 Sep 2023 13:20:45 +0200 Subject: [PATCH] add pipeline artifact for coverage report to pipeline --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28ecda1..6d892aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,12 @@ phpunit: script: - php -dzend_extension=xdebug.so -dxdebug.mode=coverage bin/phpunit -c phpunit.xml --color=always - --coverage-text --coverage-clover=build/logs/clover.xml + --coverage-text --coverage-cobertura=storage/logs/cobertura.xml + artifacts: + reports: + coverage_report: + coverage_format: cobertura + path: storage/logs/cobertura.xml packagist: stage: publish -- GitLab