Skip to content
Snippets Groups Projects
Commit 5384692f authored by Thomas Flori's avatar Thomas Flori
Browse files

fix overall coverage

parent e9f87c57
No related branches found
No related tags found
No related merge requests found
Pipeline #666 passed with stages
in 1 minute and 46 seconds
......@@ -20,7 +20,8 @@ phpunit:
script:
- php -dzend_extension=xdebug.so -dxdebug.mode=coverage
bin/phpunit -c phpunit.xml --color=always
--coverage-text --coverage-cobertura=storage/logs/cobertura.xml
--coverage-text --coverage-cobertura=storage/logs/cobertura.xml | tee /tmp/phpunit.out
- sed -r 's~\x01?(\x1B\(B)?\x1B\[([0-9;]*)?[JKmsu]\x02?~~g' /tmp/phpunit.out|grep '^ Lines'
artifacts:
paths:
- storage/logs/cobertura.xml
......@@ -28,7 +29,7 @@ phpunit:
coverage_report:
coverage_format: cobertura
path: storage/logs/cobertura.xml
coverage: '/^\x1b\[[\d;]+m\s*Lines:\s*\d+.\d+\%/'
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
packagist:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment