diff --git a/testing/src/SystemInfo.php b/testing/src/SystemInfo.php index 53a99cc4..353c85a6 100644 --- a/testing/src/SystemInfo.php +++ b/testing/src/SystemInfo.php @@ -67,7 +67,7 @@ public static function detect(): self self::PLATFORM_MAPPINGS[$os], self::ARCHITECTURE_MAPPINGS[Architecture::createFromGlobals()], self::TEMPORAL_EXECUTABLE_MAP[$os], - self::RR_EXECUTABLE_MAP[$os], + \getenv('ROADRUNNER_BINARY') ?: self::RR_EXECUTABLE_MAP[$os], self::TEMPORAL_CLI_EXECUTABLE_MAP[$os], ); }