Skip to content

Commit

Permalink
Merge pull request #19 from creative-commoners/pulls/1.1/no-codecov
Browse files Browse the repository at this point in the history
MNT Disable codecov always running on silverstripe account
  • Loading branch information
GuySartorelli authored Jul 17, 2022
2 parents ebedd6a + d47140a commit 6ece91b
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 @@ -284,8 +284,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 6ece91b

Please sign in to comment.