"WARN: Invalid directory path in 'source' element:" while scanning python coverage

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
  • CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI, GITHUB ACTIONS
  • Scanner command used when applicable (private details masked) using SonarSource/sonarcloud-github-action
  • Languages of the repository python
  • Only if the SonarCloud project is public, the URL
    • And if you need help with pull request decoration, then the URL to the PR too
  • Error observed (wrap logs/code around with triple quotes for proper formatting)WARN: Invalid directory path in ‘source’ element: /home/runner/work/hart-recommendation/hart-recommendation```
  • Steps to reproduce
  • Potential workaround

Hi,

Welcome to the community!

Does a file by that name actually exist at that path?

 
Ann