Skip to content

Commit

Permalink
Merge pull request #25 from creative-commoners/pulls/1.1/disable-codecov
Browse files Browse the repository at this point in the history
ENH Re-disable codecov on silverstripe account
  • Loading branch information
GuySartorelli authored Jul 26, 2022
2 parents 6e98b7f + edac748 commit f1a0002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions job_creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ private function createPhpunitJobs(

private function doRunPhpCoverage(array $run): bool
{
// always run on silverstripe account, unless phpcoverage_force_off is set to true
if (preg_match('#^silverstripe/#', $this->githubRepository)) {
// (currently disabled) always run on silverstripe account, unless phpcoverage_force_off is set to true
if (false && preg_match('#^silverstripe/#', $this->githubRepository)) {
return !$run['phpcoverage_force_off'];
}
return $run['phpcoverage'];
Expand Down

0 comments on commit f1a0002

Please sign in to comment.