diff --git a/src/tools.ts b/src/tools.ts index 4250a265..95b7c6a9 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -56,10 +56,9 @@ function backwardCompatibilityCheckTool(config: Config): ToolRunningContainerDef } return { - // @TODO need to `git fetch baseSha1` from source repo! executionType : ToolExecutionType.STATIC, name : 'Backward Compatibility Check', - command : `roave-backward-compatibility-check check --from="${ config.baseReference }" --install-development-dependencies`, + command : `roave-backward-compatibility-check check --from=\\"${ config.baseReference }\\" --install-development-dependencies`, filesToCheck : [ 'composer.json' ], toolType : ToolType.CODE_CHECK, php : CONTAINER_DEFAULT_PHP_VERSION, diff --git a/tests/code-check-roave-backward-compatibility/matrix.json b/tests/code-check-roave-backward-compatibility/matrix.json index 8ef19412..3cee4c94 100644 --- a/tests/code-check-roave-backward-compatibility/matrix.json +++ b/tests/code-check-roave-backward-compatibility/matrix.json @@ -2,7 +2,7 @@ "include": [ { "name": "Backward Compatibility Check [@default, latest]", - "job": "{\"command\":\"roave-backward-compatibility-check check --from=\\\"1111222233334444aaaabbbbccccdddd\\\" --install-development-dependencies\",\"php\":\"@default\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", + "job": "{\"command\":\"roave-backward-compatibility-check check --from=\\\\\\\"1111222233334444aaaabbbbccccdddd\\\\\\\" --install-development-dependencies\",\"php\":\"@default\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", "operatingSystem": "ubuntu-latest", "action": "laminas/laminas-continuous-integration-action@v1" }