diff --git a/dist/index.js b/dist/index.js index 003c83486..9ba9c3514 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5037,7 +5037,7 @@ function run() { ignoreReturnCode: true }); const colconTestCmd = `colcon test --event-handlers console_cohesion+ \ - --pytest-args --cov=. --cov-report=xml --return-code-on-test-failure \ + --pytest-with-coverage --return-code-on-test-failure \ --packages-select ${packageNameList.join(" ")} \ ${extra_options.join(" ")}`; yield execBashCommand(colconTestCmd, commandPrefix, options); diff --git a/src/action-ros-ci.ts b/src/action-ros-ci.ts index 34d087f16..2c245ac02 100644 --- a/src/action-ros-ci.ts +++ b/src/action-ros-ci.ts @@ -298,7 +298,7 @@ async function run() { }); const colconTestCmd = `colcon test --event-handlers console_cohesion+ \ - --pytest-args --cov=. --cov-report=xml --return-code-on-test-failure \ + --pytest-with-coverage --return-code-on-test-failure \ --packages-select ${packageNameList.join(" ")} \ ${extra_options.join(" ")}`; await execBashCommand(colconTestCmd, commandPrefix, options);