From e9f87c571c18c6554ad89650afe0e14db30aa6ad Mon Sep 17 00:00:00 2001 From: Thomas Flori <t.flori@sportradar.com> Date: Fri, 22 Sep 2023 14:54:26 +0200 Subject: [PATCH] add coverage expression pipeline config --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa6b367..561d28a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,10 +22,14 @@ phpunit: bin/phpunit -c phpunit.xml --color=always --coverage-text --coverage-cobertura=storage/logs/cobertura.xml artifacts: + paths: + - storage/logs/cobertura.xml reports: coverage_report: coverage_format: cobertura path: storage/logs/cobertura.xml + coverage: '/^\x1b\[[\d;]+m\s*Lines:\s*\d+.\d+\%/' + packagist: stage: publish -- GitLab