Arquisoft / faq

Frequently asked questions - Software architecture course
MIT License
4 stars 0 forks source link

Codecoverage reports not updated in SonarCloud #42

Closed labra closed 10 months ago

labra commented 1 year ago

In some cases, the reports generated for code coverage are not updated in SonarCloud. It may happen that you can see a Warning in the application saying something like:

Shallow clone detected during the analysis. Some files will miss SCM information. This will affect features like auto-assignment of issues. Please configure your build to disable shallow clone.

Looking at this question in Stackoverflow, a solution seems to be to add the following line:

      with:
        fetch-depth: 0

We had that issue in lomap_0 and we solved it here