Problem with Coverage report on sonarcloud-github-action v4.0.0 release

Hi @rafael-loggi,

Thanks for these additional pieces of information.

I suspect that the problem comes from the sed command:

- name: "Prepare coverage report for analysis"
  if: ${{ env.PROJECT_PATH }}
  run: |-
    sed -i 's+/home/runner/work/py/py+/github/workspace+g' ./$PROJECT_PATH/test-reports/*.xml

This step was required since the action was running in a container and /home/runner/work/py/py was not accessible from within the container.

Now the action is composite and it runs in the same context as the rest of the job. Therefore, the change should not be required anymore.

Can you try removing that step? If that doesn’t work, could you also produce debug logs, via the DEBUG=1 environment variable or the -Dsonar.verbose=true argument, and share with us?

(I can initiate a private conversation, if you would prefer not to share logs publicly).

Thanks,
Antonio