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

Commit d48a963

Browse files
committed
Ok, actually disable step tests on ubuntu
1 parent ce95cbd commit d48a963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class StepTestCase extends TestCase {
3838
* @before
3939
*/
4040
public function setUp(): void {
41-
if (getenv('GITHUB_ACTIONS') === 'true' || (PHP_OS_FAMILY === 'Linux' && file_exists('/etc/os-release') && strpos(file_get_contents('/etc/os-release'), 'Ubuntu') !== false)) {
41+
if (PHP_OS_FAMILY === 'Linux' && file_exists('/etc/os-release') && strpos(file_get_contents('/etc/os-release'), 'Ubuntu') !== false) {
4242
$this->markTestSkipped('Step tests are skipped on Ubuntu. @TODO: Re-enable them. Somehow the WordPress.zip request always times out.');
4343
}
4444
$tmp_dir = wp_sys_get_temp_dir();

0 commit comments

Comments
 (0)