Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit 67938e5

Browse files
committed
Don't remove temp directories in CI on Windows
1 parent fb32311 commit 67938e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/Blueprints/Tests/Unit/Steps/StepTestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ public function setUp(): void {
8686
* @after
8787
*/
8888
public function tearDown(): void {
89+
// Don't clean up on Windows – it adds ~20s to each test in GitHub CI!
90+
if (PHP_OS_FAMILY === 'Windows') {
91+
return;
92+
}
8993
// Clean up temp directory
9094
if ( is_dir( $this->document_root ) ) {
9195
$this->removeDirectory( $this->document_root );

0 commit comments

Comments
 (0)