Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Nov 16, 2024
1 parent 1c43b32 commit af85825
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/nightly.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,34 @@ function e(string $cmd, string $extra = ''): string {

$repos = [];

$repos["phpunit"] = [
/*$repos["phpunit"] = [
"https://github.com/sebastianbergmann/phpunit.git",
"main",
null,
["./phpunit"],
1
];
];*/

$repos["infection"] = [
"https://github.com/infection/infection",
$repos["psalm"] = [
"https://github.com/vimeo/psalm",
"master",
null,
["vendor/bin/phpunit"],
function (): iterable {
$it = new RecursiveDirectoryIterator("tests");
/** @var SplFileInfo $file */
foreach(new RecursiveIteratorIterator($it) as $file) {
if ($file->getExtension() == 'php' && ctype_upper($file->getBasename()[0])) {
yield [
getcwd()."/phpunit",
dirname($file->getRealPath()),
];
}
}
},
1
];

/*
$repos["wordpress"] = [
"https://github.com/WordPress/wordpress-develop.git",
"",
Expand Down Expand Up @@ -110,7 +122,7 @@ function (): iterable {
}
},
1
];
];*/

$finalStatus = 0;
$parentPids = [];
Expand Down

0 comments on commit af85825

Please sign in to comment.