Skip to content

Commit 728df25

Browse files
authored
feat: Add env ROADRUNNER_BINARY in testing module #667
1 parent 77eb97a commit 728df25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/src/SystemInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static function detect(): self
6767
self::PLATFORM_MAPPINGS[$os],
6868
self::ARCHITECTURE_MAPPINGS[Architecture::createFromGlobals()],
6969
self::TEMPORAL_EXECUTABLE_MAP[$os],
70-
self::RR_EXECUTABLE_MAP[$os],
70+
\getenv('ROADRUNNER_BINARY') ?: self::RR_EXECUTABLE_MAP[$os],
7171
self::TEMPORAL_CLI_EXECUTABLE_MAP[$os],
7272
);
7373
}

0 commit comments

Comments
 (0)