Skip to content

Commit

Permalink
Gitlab coverage related changes (acquia#608)
Browse files Browse the repository at this point in the history
* use coverage--text

* use color:never

* revert color settings

* revert color to never
  • Loading branch information
Sayan Goswami authored Aug 12, 2024
1 parent 8bdba50 commit d6babda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Domain/Tool/Phpunit/PhpUnitTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ protected function runPhpUnit(): void {
}

if ($this->shouldGenerateCodeCoverageInCobertura()) {
$command[] = "--coverage-text";
$command[] = "--coverage-cobertura={$this->coberturaCoverage}";
$this->processRunner->addEnvVar("XDEBUG_MODE", "coverage");
}
Expand All @@ -424,7 +425,7 @@ protected function runPhpUnit(): void {
}

$command = array_merge($command, [
'--colors=always',
'--colors=never',
"--configuration={$this->fixture->getPath('docroot/core/phpunit.xml')}",
'--exclude-group=orca_ignore',
'--testsuite=orca',
Expand Down

0 comments on commit d6babda

Please sign in to comment.