Compare commits

...

3 Commits

Author SHA1 Message Date
nuno maduro 7b6415ccd0 fix 2026-08-07 03:15:22 +01:00
nuno maduro a5d726b678 release: 5.0.4 2026-08-07 03:00:25 +01:00
nuno maduro 93223caa56 chore: fixes ci 2026-08-07 03:00:19 +01:00
7 changed files with 9 additions and 5 deletions
+1
View File
@@ -71,6 +71,7 @@
"config": { "config": {
"sort-packages": true, "sort-packages": true,
"preferred-install": "dist", "preferred-install": "dist",
"process-timeout": 0,
"allow-plugins": { "allow-plugins": {
"pestphp/pest-plugin": true "pestphp/pest-plugin": true
} }
+1 -1
View File
@@ -6,7 +6,7 @@ namespace Pest;
function version(): string function version(): string
{ {
return '5.0.3'; return '5.0.4';
} }
function testDirectory(string $file = ''): string function testDirectory(string $file = ''): string
@@ -1,5 +1,5 @@
Pest Testing Framework 5.0.3. Pest Testing Framework 5.0.4.
USAGE: pest <file> [options] USAGE: pest <file> [options]
@@ -1,3 +1,3 @@
Pest Testing Framework 5.0.3. Pest Testing Framework 5.0.4.
+1 -1
View File
@@ -192,6 +192,6 @@ test('a directory with no repository at all still asks for git', function (): vo
$result = $project->pest('--tia'); $result = $project->pest('--tia');
expect($result->exitCode)->toBe(1, $result->describe()) expect($result->exitCode)->toBe(1, $result->describe())
->and($result->output)->toContain('requires "git"') ->and($result->output)->toContain('requires [git]')
->and($project->graphExists())->toBeFalse(); ->and($project->graphExists())->toBeFalse();
})->skipOnWindows(); })->skipOnWindows();
@@ -175,7 +175,7 @@ test('tia still requires git', function (): void {
$result = $project->pest('--tia'); $result = $project->pest('--tia');
expect($result->output)->toContain('The feature [Tia mode[ requires [git].') expect($result->output)->toContain('The feature [Tia mode] requires [git].')
->and($result->exitCode)->not->toBe(0); ->and($result->exitCode)->not->toBe(0);
})->skipOnWindows(); })->skipOnWindows();
+3
View File
@@ -174,6 +174,9 @@ final class Project
'HOME' => $this->home(), 'HOME' => $this->home(),
'GITHUB_EVENT_PATH' => '', 'GITHUB_EVENT_PATH' => '',
'CI_DEFAULT_BRANCH' => '', 'CI_DEFAULT_BRANCH' => '',
'GITHUB_ACTIONS' => '',
'GITLAB_CI' => '',
'CIRCLECI' => '',
...$environment, ...$environment,
], ],
); );